Uninitialized variables: improved debug warning when bailing out
This commit is contained in:
parent
c389e08353
commit
9624a89b34
|
@ -1232,7 +1232,7 @@ bool CheckUninitVar::checkScopeForVariable(const Scope* scope, const Token *tok,
|
|||
if (tok2->isName() && tok2->next()->isName())
|
||||
condition += ' ';
|
||||
}
|
||||
reportError(tok, Severity::debug, "debug", "uninitialized variables: bailout. can't determine if this condition can be false when previous condition is false: " + condition);
|
||||
reportError(tok, Severity::debug, "debug", "bailout uninitialized variable checking for '" + var.nameToken()->str() + "'. can't determine if this condition can be false when previous condition is false: " + condition);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue