diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index c6feab7ac..2135a42a3 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -5844,12 +5844,6 @@ bool Tokenizer::simplifyKnownVariables() continue; } - if (Token::Match(tok2->tokAt(-2), "for (")) - { - // skip loop variable - continue; - } - if (tok2->str() == tok2->strAt(2)) continue;