value flow: fixed bailout so it really bails out

This commit is contained in:
Daniel Marjamäki 2014-01-06 10:23:17 +01:00
parent 91f7de047e
commit a5b79bc968
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ static void valueFlowBeforeCondition(TokenList *tokenlist, ErrorLogger *errorLog
if (Token::Match(tok2, "%var% =")) {
if (settings->debugwarnings)
bailout(tokenlist, errorLogger, tok2, "assignment of " + tok2->str());
continue;
break;
}
tok2->values.push_back(val);