mirror of
https://github.com/github/codeql.git
synced 2025-12-19 02:13:17 +01:00
10 lines
208 B
Plaintext
10 lines
208 B
Plaintext
import cpp
|
|
|
|
from LocalVariable lv, ControlFlowNode def
|
|
where
|
|
def = lv.getAnAssignment() and
|
|
not exists(VariableAccess use |
|
|
use = lv.getAnAccess() and
|
|
use = def.getASuccessor+()
|
|
)
|
|
select lv, def |