Merge branch 'master' of git@github.com:danmar/cppcheck

This commit is contained in:
Daniel Marjamäki 2009-03-18 22:41:01 +01:00
commit 09ff4fa35f
1 changed files with 1 additions and 1 deletions

View File

@ -1324,7 +1324,7 @@ private:
const Token *tok = Tokenizer::FindClassFunction(tokenizer.tokens(), "Fred", "%var%", i);
ASSERT_EQUALS(true, Token::simpleMatch(tok, "Fred ( ) {"));
tok = Tokenizer::FindClassFunction(tok->next(), "Fred", "%var%", i);
ASSERT_EQUALS(0, (int)tok);
ASSERT_EQUALS(0, tok ? 1 : 0);
}
void vardecl1()