Tokenizer::setVarId(): use Token::link() instead of loop.
No functional change.
This commit is contained in:
parent
00113eea92
commit
6bb6cbadc2
|
@ -1007,8 +1007,7 @@ void Tokenizer::setVarId()
|
|||
if (Token::Match(tok2, funcpattern.c_str()))
|
||||
{
|
||||
// Goto the end paranthesis..
|
||||
while (tok2 && tok2->str() != ")")
|
||||
tok2 = tok2->next();
|
||||
tok2 = tok2->tokAt(3)->link();
|
||||
if (!tok2)
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue