3619 Check that tok2->next() exists before using
This commit is contained in:
parent
28431da0ae
commit
fe9d491aae
|
@ -845,7 +845,7 @@ static Token *processFunc(Token *tok2, bool inOperator)
|
||||||
}
|
}
|
||||||
|
|
||||||
// skip over typedef parameter
|
// skip over typedef parameter
|
||||||
if (tok2->next()->str() == "(") {
|
if (tok2->next() && tok2->next()->str() == "(") {
|
||||||
tok2 = tok2->next()->link();
|
tok2 = tok2->next()->link();
|
||||||
|
|
||||||
if (tok2->next()->str() == "(")
|
if (tok2->next()->str() == "(")
|
||||||
|
|
Loading…
Reference in New Issue