fix cppcheck warning in Tokenizer::duplicateTypedef()

This commit is contained in:
Robert Reif 2011-07-30 10:12:35 -04:00
parent c6a804d306
commit addcec704f
1 changed files with 2 additions and 1 deletions

View File

@ -606,6 +606,7 @@ bool Tokenizer::duplicateTypedef(Token **tokPtr, const Token *name, const Token
end = end->next(); end = end->next();
} }
if (end)
end = end->next(); end = end->next();
} }
else if (end->str() == "(") else if (end->str() == "(")