integerOverflow: Separate id for conditional integer overflows

This commit is contained in:
Daniel Marjamäki 2018-02-07 12:49:56 +01:00
parent dea662891a
commit 85d8bbacb8
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ void CheckType::integerOverflowError(const Token *tok, const ValueFlow::Value &v
reportError(getErrorPath(tok, &value, "Integer overflow"),
value.errorSeverity() ? Severity::error : Severity::warning,
"integerOverflow",
(value.condition == nullptr) ? "integerOverflow" : "integerOverflowCond",
msg,
CWE190,
value.isInconclusive());