Refactoring, use continue
This commit is contained in:
parent
23ed35b1e6
commit
29265cdd49
|
@ -1661,7 +1661,8 @@ void Tokenizer::simplifyMulAndParens()
|
|||
if (!list.front())
|
||||
return;
|
||||
for (Token *tok = list.front()->tokAt(3); tok; tok = tok->next()) {
|
||||
if (tok->isName()) {
|
||||
if (!tok->isName())
|
||||
continue;
|
||||
//fix ticket #2784 - improved by ticket #3184
|
||||
unsigned int closedpars = 0;
|
||||
Token *tokend = tok->next();
|
||||
|
@ -1718,7 +1719,6 @@ void Tokenizer::simplifyMulAndParens()
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool Tokenizer::createTokens(std::istream &code,
|
||||
const std::string& FileName)
|
||||
|
|
Loading…
Reference in New Issue