mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
revert the last small change to ExprHasNoEffect.qll
This commit is contained in:
committed by
Erik Krogh Kristensen
parent
34d0f72706
commit
1c424310ae
@@ -26,7 +26,7 @@ predicate inVoidContext(Expr e) {
|
||||
n = seq.getNumOperands()
|
||||
|
|
||||
i < n - 1 or inVoidContext(seq)
|
||||
)
|
||||
)
|
||||
or
|
||||
exists(ForStmt stmt | e = stmt.getUpdate())
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user