Fixed cppcheck warning about iterator post increment

This commit is contained in:
Daniel Marjamäki 2015-01-06 15:16:29 +01:00
parent 6c3b7c1d0e
commit 1068e095e7
1 changed files with 1 additions and 1 deletions

View File

@ -837,7 +837,7 @@ static bool valueFlowForward(Token * const startToken,
if (conditionIsTrue(tok2->next()->astOperand2(), getProgramMemory(tok2, varid, *it)))
values.erase(it++);
else
it++;
++it;
}
if (values.empty())
return false;