mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
9 lines
191 B
Plaintext
9 lines
191 B
Plaintext
import javascript
|
|
|
|
from Expr e
|
|
where
|
|
e.isPure() and
|
|
e.getParent() instanceof ExprStmt and
|
|
not e.getParent() instanceof Directive // new check
|
|
select e, "This expression has no effect."
|