value flow: fixed bailout so it really bails out
This commit is contained in:
parent
91f7de047e
commit
a5b79bc968
|
@ -93,7 +93,7 @@ static void valueFlowBeforeCondition(TokenList *tokenlist, ErrorLogger *errorLog
|
||||||
if (Token::Match(tok2, "%var% =")) {
|
if (Token::Match(tok2, "%var% =")) {
|
||||||
if (settings->debugwarnings)
|
if (settings->debugwarnings)
|
||||||
bailout(tokenlist, errorLogger, tok2, "assignment of " + tok2->str());
|
bailout(tokenlist, errorLogger, tok2, "assignment of " + tok2->str());
|
||||||
continue;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
tok2->values.push_back(val);
|
tok2->values.push_back(val);
|
||||||
|
|
Loading…
Reference in New Issue