Code cleanup

[ci skip]
This commit is contained in:
Daniel Marjamäki 2014-04-05 08:27:52 +02:00
parent c27a482a84
commit 456e33fc7b
1 changed files with 1 additions and 3 deletions

View File

@ -460,14 +460,12 @@ static void compileTerm(Token *& tok, std::stack<Token*> &op)
} else {
Token *name = tok;
Token *par = templatefunc ? tok->linkAt(1)->next() : tok->next();
Token *prev;
Token *prev = name;
tok = par->next();
if (Token::Match(tok, ")|]")) {
prev = name;
par->astOperand1(name);
tok = tok->next();
} else {
prev = name;
tok = tok->previous();
}
while (Token::Match(tok, "(|[")) {