Skip to content

Commit 477341d

Browse files
committed
Remove unnecessary variable
1 parent 952bc84 commit 477341d

File tree

1 file changed

+2
-2
lines changed
  • go/ql/test/library-tests/semmle/go/frameworks/ElazarlGoproxy

1 file changed

+2
-2
lines changed

go/ql/test/library-tests/semmle/go/frameworks/ElazarlGoproxy/test.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ class TaintFlow extends InlineExpectationsTest {
6969
tag = "taintflow" and
7070
value = "" and
7171
element = "" and
72-
exists(Config c, DataFlow::Node fromNode, DataFlow::Node toNode |
72+
exists(Config c, DataFlow::Node toNode |
7373
toNode
7474
.hasLocationInfo(location.getFile().getAbsolutePath(), location.getStartLine(),
7575
location.getStartColumn(), location.getEndLine(), location.getEndColumn()) and
76-
c.hasFlow(fromNode, toNode)
76+
c.hasFlowTo(toNode)
7777
)
7878
}
7979
}

0 commit comments

Comments
 (0)