Skip to content

Commit 8734df3

Browse files
committed
Python: Slight cleanup
1 parent 229250d commit 8734df3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/src/semmle/python/dataflow/new/internal/DataFlowPublic.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,8 @@ class BarrierGuard extends GuardNode {
468468
}
469469

470470
private predicate comes_from_cfgnode(Node node) {
471-
exists(Node second |
472-
simpleLocalFlowStep(any(CfgNode c), second) and
471+
exists(CfgNode first, Node second |
472+
simpleLocalFlowStep(first, second) and
473473
simpleLocalFlowStep*(second, node)
474474
)
475475
}

0 commit comments

Comments
 (0)