Update java/ql/lib/semmle/code/java/Expr.qll

This commit is contained in:
Anders Schack-Mulligen
2022-05-11 11:03:13 +02:00
committed by GitHub
parent c760d39d59
commit c217a1e502

View File

@@ -2174,6 +2174,6 @@ class ValueDiscardingExpr extends Expr {
)
) and
// Ignore if this expression is a method call with `void` as return type
not getType() instanceof VoidType
not this.getType() instanceof VoidType
}
}