Revert "Tokenizer: More specific bailout in simplifyKnownVariables for loop variable"

This reverts commit 7e9bb62dff.
This commit is contained in:
Daniel Marjamäki 2010-11-07 17:40:27 +01:00
parent 7e9bb62dff
commit 47e9fcb5a8
1 changed files with 0 additions and 6 deletions

View File

@ -5844,12 +5844,6 @@ bool Tokenizer::simplifyKnownVariables()
continue; continue;
} }
if (Token::Match(tok2->tokAt(-2), "for ("))
{
// skip loop variable
continue;
}
if (tok2->str() == tok2->strAt(2)) if (tok2->str() == tok2->strAt(2))
continue; continue;