Fix Cppcheck warning

This commit is contained in:
Daniel Marjamäki 2019-05-30 21:48:12 +02:00
parent de07e2177c
commit f66cbac0a4
1 changed files with 0 additions and 1 deletions

View File

@ -5454,7 +5454,6 @@ void SymbolDatabase::setValueTypeInTokenList()
std::istringstream istr(typestr+";"); std::istringstream istr(typestr+";");
if (tokenList.createTokens(istr)) { if (tokenList.createTokens(istr)) {
ValueType vt; ValueType vt;
assert(tokenList.front());
tokenList.simplifyPlatformTypes(); tokenList.simplifyPlatformTypes();
tokenList.simplifyStdType(); tokenList.simplifyStdType();
if (parsedecl(tokenList.front(), &vt, mDefaultSignedness, mSettings)) { if (parsedecl(tokenList.front(), &vt, mDefaultSignedness, mSettings)) {