Fixed Cppcheck warning caused by a redundant null pointer test.
This commit is contained in:
parent
0dd008e068
commit
81d9c90890
|
@ -1456,7 +1456,7 @@ void Tokenizer::simplifyTypedef()
|
||||||
tok2 = tok2->next();
|
tok2 = tok2->next();
|
||||||
|
|
||||||
// skip over name
|
// skip over name
|
||||||
if (tok2 && tok2->next() && tok2->next()->str() != ")") {
|
if (tok2->next() && tok2->next()->str() != ")") {
|
||||||
if (tok2->next()->str() != "(")
|
if (tok2->next()->str() != "(")
|
||||||
tok2 = tok2->next();
|
tok2 = tok2->next();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue