mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
8 lines
223 B
Plaintext
8 lines
223 B
Plaintext
import javascript
|
|
|
|
query predicate test_query11(VarDef def, string res) {
|
|
exists(LocalVariable v | v = def.getAVariable() and not exists(VarUse use | def = use.getADef()) |
|
|
res = "Dead store of local variable."
|
|
)
|
|
}
|