mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
7 lines
179 B
Plaintext
7 lines
179 B
Plaintext
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."
|