Skip to content

Commit

Permalink
Dataflow: Minor simplification.
Browse files Browse the repository at this point in the history
  • Loading branch information
aschackmull committed Dec 10, 2024
1 parent 4e155f8 commit 40f7713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/dataflow/codeql/dataflow/internal/DataFlowImpl.qll
Original file line number Diff line number Diff line change
Expand Up @@ -2043,7 +2043,7 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
exists(NodeEx node, FlowState state |
sourceNode(node, state) and
(if hasSourceCallCtx() then cc = true else cc = false) and
PrevStage::revFlow(node, state, getApprox(any(ApNil nil))) and
PrevStage::revFlow(node, state, any(PrevStage::ApNil nil)) and
c = node.getEnclosingCallable()
)
or
Expand Down

0 comments on commit 40f7713

Please sign in to comment.