Skip to content

Commit

Permalink
Dataflow: Avoid duplication in fwdFlow1 disjunction.
Browse files Browse the repository at this point in the history
  • Loading branch information
aschackmull committed Jan 30, 2025
1 parent 50f7c89 commit 1a930cc
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 @@ -415,7 +415,7 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
private predicate compatibleContainer0(ApHeadContent apc, DataFlowType containerType) {
exists(DataFlowType containerType0, Content c |
PrevStage::storeStepCand(_, c, _, _, containerType0) and
not isTopType(containerType0) and
not topTypeContent(apc) and
compatibleTypesCached(containerType0, containerType) and
apc = projectToHeadContent(c)
)
Expand Down

0 comments on commit 1a930cc

Please sign in to comment.