Uninitialized variables: improved debug warning when bailing out

This commit is contained in:
Daniel Marjamäki 2013-06-26 20:59:08 +02:00
parent c389e08353
commit 9624a89b34
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}