Remove the now useless fix for #4245.

The fix for #4276 made completely useless that branch, so remove it until someone shows a testcase which breaks this commit.
This commit is contained in:
Edoardo Prezioso 2012-11-05 00:13:04 +01:00
parent 7293fcfa9b
commit 63307c5db2
1 changed files with 0 additions and 2 deletions

View File

@ -5095,8 +5095,6 @@ void Tokenizer::simplifyVarDecl(bool only_k_r_fpar)
const Token *VarTok = type0->tokAt((int)typelen);
while (Token::Match(VarTok, "*|&|const"))
VarTok = VarTok->next();
if (!VarTok)
break; // ticket 4245 - invalid code probably
list.insertTokens(eq, VarTok, 2);
eq->str(";");