mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Remove unnecessary variable
This commit is contained in:
@@ -69,11 +69,11 @@ class TaintFlow extends InlineExpectationsTest {
|
||||
tag = "taintflow" and
|
||||
value = "" and
|
||||
element = "" and
|
||||
exists(Config c, DataFlow::Node fromNode, DataFlow::Node toNode |
|
||||
exists(Config c, DataFlow::Node toNode |
|
||||
toNode
|
||||
.hasLocationInfo(location.getFile().getAbsolutePath(), location.getStartLine(),
|
||||
location.getStartColumn(), location.getEndLine(), location.getEndColumn()) and
|
||||
c.hasFlow(fromNode, toNode)
|
||||
c.hasFlowTo(toNode)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user