We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a438097 commit a5442c8Copy full SHA for a5442c8
1 file changed
lib/vf_analyzers.cpp
@@ -139,7 +139,7 @@ struct ValueFlowAnalyzer : Analyzer {
139
return result;
140
}
141
ConditionState lhs = analyzeCondition(tok->astOperand1(), depth - 1);
142
- if (lhs.isUnknownDependent())
+ if (lhs.isUnknownDependent() || !tok->astOperand2())
143
return lhs;
144
ConditionState rhs = analyzeCondition(tok->astOperand2(), depth - 1);
145
if (rhs.isUnknownDependent())
0 commit comments