minor fix of test case

This commit is contained in:
Daniel Marjamäki 2009-06-23 20:40:27 +02:00
parent 7f8b40d135
commit 61f4a29758
1 changed files with 1 additions and 1 deletions

View File

@ -1163,7 +1163,7 @@ void CheckMemoryLeakInFunction::simplifycode(Token *tok, bool &all)
}
// Remove "if { dealloc ; callfunc ; } !!else"
else if (Token::Match(tok2->next(), "if { dealloc|assign|use ; callfunc ; } !!else"))
else if (Token::Match(tok2->next(), "if { dealloc|assign ; callfunc ; } !!else"))
{
Token::eraseTokens(tok2, tok2->tokAt(8));
done = false;