mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
QL code and tests for C#/C++/JavaScript.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import javascript
|
||||
|
||||
from VarDef def, LocalVariable v
|
||||
where v = def.getAVariable() and
|
||||
not exists (VarUse use | def = use.getADef())
|
||||
select def, "Dead store of local variable."
|
||||
Reference in New Issue
Block a user