Skip to content

Commit 80ee372

Browse files
committed
JS: Replace an unused value with _
1 parent 637baab commit 80ee372

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/lib/semmle/javascript/dataflow/internal/DataFlowPrivate.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,8 +1127,8 @@ Node getNodeFromSsa2(Ssa2::Node node) {
11271127
}
11281128

11291129
private predicate useUseFlow(Node node1, Node node2) {
1130-
exists(Ssa2::DefinitionExt def, Ssa2::Node ssa1, Ssa2::Node ssa2, boolean isUseStep |
1131-
Ssa2::localFlowStep(def, ssa1, ssa2, isUseStep) and
1130+
exists(Ssa2::DefinitionExt def, Ssa2::Node ssa1, Ssa2::Node ssa2 |
1131+
Ssa2::localFlowStep(def, ssa1, ssa2, _) and
11321132
node1 = getNodeFromSsa2(ssa1) and
11331133
node2 = getNodeFromSsa2(ssa2) and
11341134
not node1.getTopLevel().isExterns()

0 commit comments

Comments
 (0)