diff --git a/src/tokenize.cpp b/src/tokenize.cpp index 928312b94..a2a0957b7 100644 --- a/src/tokenize.cpp +++ b/src/tokenize.cpp @@ -480,8 +480,8 @@ void Tokenizer::setVarId() unsigned int _varId = 0; for (Token *tok = _tokens; tok; tok = tok->next()) { - if ( !(firstMatch = Token::Match(tok, "[;{}(] %type% *| %var%")) - && !Token::Match(tok, "[;{}(] %type% %type% *| %var%") ) + if (!(firstMatch = Token::Match(tok, "[;{}(] %type% *| %var%")) + && !Token::Match(tok, "[;{}(] %type% %type% *| %var%")) continue; // Determine name of declared variable..