Fix Cppcheck internal warning
This commit is contained in:
parent
cf965b72b5
commit
87ece5856a
|
@ -5572,7 +5572,7 @@ private:
|
||||||
void findFunction27() {
|
void findFunction27() {
|
||||||
GET_SYMBOL_DB("namespace { void a(int); }\n"
|
GET_SYMBOL_DB("namespace { void a(int); }\n"
|
||||||
"void f() { a(9); }");
|
"void f() { a(9); }");
|
||||||
const Token *a = Token::findmatch(tokenizer.tokens(), "a ( 9 )");
|
const Token *a = Token::findsimplematch(tokenizer.tokens(), "a ( 9 )");
|
||||||
ASSERT(a);
|
ASSERT(a);
|
||||||
ASSERT(a->function());
|
ASSERT(a->function());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue