Skip to content

Commit a5442c8

Browse files
Update vf_analyzers.cpp
1 parent a438097 commit a5442c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/vf_analyzers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ struct ValueFlowAnalyzer : Analyzer {
139139
return result;
140140
}
141141
ConditionState lhs = analyzeCondition(tok->astOperand1(), depth - 1);
142-
if (lhs.isUnknownDependent())
142+
if (lhs.isUnknownDependent() || !tok->astOperand2())
143143
return lhs;
144144
ConditionState rhs = analyzeCondition(tok->astOperand2(), depth - 1);
145145
if (rhs.isUnknownDependent())

0 commit comments

Comments
 (0)