Removed redundant null pointer check
This commit is contained in:
parent
ca7ec25b92
commit
d39097f52a
|
@ -213,7 +213,7 @@ CheckMemoryLeak::AllocType CheckMemoryLeak::getDeallocationType(const Token *tok
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tok && tok->str() == "::")
|
if (tok->str() == "::")
|
||||||
tok = tok->next();
|
tok = tok->next();
|
||||||
|
|
||||||
if (Token::Match(tok, "%name% (")) {
|
if (Token::Match(tok, "%name% (")) {
|
||||||
|
|
Loading…
Reference in New Issue