We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49c5ac5 commit c89043cCopy full SHA for c89043c
1 file changed
cpp/common/src/codingstandards/cpp/deadcode/UnusedVariables.qll
@@ -68,7 +68,6 @@ int countUsesInLocalArraySize(Variable v) {
68
result =
69
count(ArrayType at, LocalVariable arrayVariable |
70
arrayVariable.getType().resolveTypedefs() = at and
71
- //v.(SecondPassUnused::UnusedLocalVariable).getFunction() = arrayVariable.getFunction() and
72
v.(LocalVariable).getFunction() = arrayVariable.getFunction() and
73
at.getArraySize().toString() = getConstExprValue(v)
74
)
0 commit comments