Skip to content

Commit c217a1e

Browse files
authored
Update java/ql/lib/semmle/code/java/Expr.qll
1 parent c760d39 commit c217a1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2174,6 +2174,6 @@ class ValueDiscardingExpr extends Expr {
21742174
)
21752175
) and
21762176
// Ignore if this expression is a method call with `void` as return type
2177-
not getType() instanceof VoidType
2177+
not this.getType() instanceof VoidType
21782178
}
21792179
}

0 commit comments

Comments
 (0)