Fix self-check warning, condition is always true
This commit is contained in:
parent
0cb6603055
commit
d82df7cc55
|
@ -963,7 +963,6 @@ void SymbolDatabase::createSymbolDatabaseVariableSymbolTable()
|
|||
// check for named parameters
|
||||
if (arg.nameToken() && arg.declarationId()) {
|
||||
const unsigned int declarationId = arg.declarationId();
|
||||
if (declarationId > 0U)
|
||||
mVariableList[declarationId] = &arg;
|
||||
// fix up parameters without type
|
||||
if (!arg.type() && !arg.typeStartToken()->isStandardType()) {
|
||||
|
|
Loading…
Reference in New Issue