Fix compiler warning. run astyle
This commit is contained in:
parent
ad8749c0bd
commit
85c02df56c
|
@ -2358,6 +2358,9 @@ private:
|
||||||
"void CheckMemoryLeakInFunction::getcode(const Token *tok ) {\n"
|
"void CheckMemoryLeakInFunction::getcode(const Token *tok ) {\n"
|
||||||
" addtoken(&rettail, tok);\n"
|
" addtoken(&rettail, tok);\n"
|
||||||
"}");
|
"}");
|
||||||
|
const Token *f = Token::findsimplematch(tokenizer.tokens(), "void addtoken ( Token * *");
|
||||||
|
ASSERT_EQUALS(true, db && f);
|
||||||
|
ASSERT_EQUALS(true, db && f && f->function());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue