Fix Cppcheck warning
This commit is contained in:
parent
de07e2177c
commit
f66cbac0a4
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in New Issue