Skip to content

Commit 9bfa6ae

Browse files
committed
python: use unused variable
1 parent 62b0c7a commit 9bfa6ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,8 @@ module BarrierGuard<guardChecksSig/3 guardChecks> {
600600
}
601601

602602
private predicate extendedGuardChecks(GuardNode g, ControlFlowNode node, boolean branch, Unit u) {
603-
guardChecks(g, node, branch)
603+
guardChecks(g, node, branch) and
604+
u = u
604605
}
605606
}
606607

0 commit comments

Comments
 (0)