CheckOther: Use reportInconclusiveError to report inconclusive error

This commit is contained in:
Daniel Marjamäki 2012-04-08 10:47:01 +02:00
parent e8a458edde
commit 6360afdcfa
1 changed files with 1 additions and 1 deletions

View File

@ -1876,7 +1876,7 @@ void CheckOther::checkUnsignedDivision()
void CheckOther::udivError(const Token *tok, bool inconclusive)
{
if (inconclusive)
reportError(tok, Severity::warning, "udivError", "Division with signed and unsigned operators. The result might be wrong.");
reportInconclusiveError(tok, Severity::warning, "udivError", "Division with signed and unsigned operators. The result might be wrong.");
else
reportError(tok, Severity::error, "udivError", "Unsigned division. The result will be wrong.");
}