small fix to previous commit
This commit is contained in:
parent
fc40808a8a
commit
e57d9609a7
|
@ -1546,8 +1546,10 @@ static const Token *checkExecutionPaths(const Token *tok, std::list<ExecutionPat
|
|||
it = checks.erase(it);
|
||||
}
|
||||
else
|
||||
{
|
||||
++it;
|
||||
}
|
||||
}
|
||||
if (checks.empty())
|
||||
return 0;
|
||||
else if (foundError)
|
||||
|
|
Loading…
Reference in New Issue