Fixed CID 1037074. Useless null pointer check. Created ticket #6144.

This commit is contained in:
Daniel Marjamäki 2014-09-07 13:50:55 +02:00
parent 301b668eb5
commit db929ffd19
1 changed files with 2 additions and 2 deletions

View File

@ -2354,7 +2354,7 @@ static void setVarIdStructMembers(Token **tok1,
tok->varId(members[tok->str()]); tok->varId(members[tok->str()]);
} }
} }
if (tok) // tok can't be null
*tok1 = tok; *tok1 = tok;
} }