Fix redundant assignment found by Cppcheck

This commit is contained in:
Daniel Marjamäki 2017-04-17 22:33:15 +02:00
parent d911eeba75
commit 0edb0dbf3c
1 changed files with 0 additions and 1 deletions

View File

@ -1134,7 +1134,6 @@ static Token * createAstAtToken(Token *tok, bool cpp)
if (init != semicolon1)
semicolon1->astOperand1(const_cast<Token*>(init->astTop()));
tok2 = semicolon1->next();
tok2 = findAstTop(semicolon1->next(), semicolon2);
if (tok2)
semicolon2->astOperand1(tok2);