Fixed CID 1037074. Useless null pointer check. Created ticket #6144.
This commit is contained in:
parent
301b668eb5
commit
db929ffd19
|
@ -2354,8 +2354,8 @@ static void setVarIdStructMembers(Token **tok1,
|
|||
tok->varId(members[tok->str()]);
|
||||
}
|
||||
}
|
||||
if (tok)
|
||||
*tok1 = tok;
|
||||
// tok can't be null
|
||||
*tok1 = tok;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue