Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update vf_analyzers.cpp
  • Loading branch information
chrchr-github authored Jan 30, 2026
commit a5442c8070be807d95263f854fafacb3d63cfd96
2 changes: 1 addition & 1 deletion lib/vf_analyzers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ struct ValueFlowAnalyzer : Analyzer {
return result;
}
ConditionState lhs = analyzeCondition(tok->astOperand1(), depth - 1);
if (lhs.isUnknownDependent())
if (lhs.isUnknownDependent() || !tok->astOperand2())
return lhs;
ConditionState rhs = analyzeCondition(tok->astOperand2(), depth - 1);
if (rhs.isUnknownDependent())
Expand Down