Removing a useless variable to fix cppcheck warning in its own code

This commit is contained in:
Alexander Mai 2014-03-21 22:11:10 +01:00
parent 37befc75ef
commit cdd6d4df27
1 changed files with 0 additions and 1 deletions

View File

@ -788,7 +788,6 @@ static void valueFlowForLoopSimplify(Token * const bodyStart, const unsigned int
}
else if (Token::Match(tok2, ") {") && Token::findmatch(tok2->link(), "%varid%", tok2, varid)) {
const Token *start = tok2->link();
if (settings->debugwarnings)
bailout(tokenlist, errorLogger, tok2, "For loop variable stopping on {");
break;