mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
C/C++ : Fix remove the useless variable
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
import cpp
|
||||
|
||||
from
|
||||
Variable var, ArrayExpr useExpr, VariableDeclarationEntry def, ArrayType defLine,
|
||||
Variable var, ArrayExpr useExpr, ArrayType defLine,
|
||||
VariableAccess use
|
||||
where
|
||||
var.getUnspecifiedType() = defLine and
|
||||
|
||||
Reference in New Issue
Block a user