mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Update java/ql/lib/semmle/code/java/Expr.qll
This commit is contained in:
committed by
GitHub
parent
c760d39d59
commit
c217a1e502
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user