Fix 'make checkcfg'

This commit is contained in:
Daniel Marjamäki 2019-03-11 21:39:39 +01:00
parent ea23033a65
commit 4ababeb704
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ void CheckBufferOverrun::arrayIndexError(const Token *tok, const Variable *var,
reportError(getErrorPath(tok, index, "Array index out of bounds"),
index->errorSeverity() ? Severity::error : Severity::warning,
index->condition ? "arrayIndexOutOfBounds" : "arrayIndexOutOfBoundsCond",
index->condition ? "arrayIndexOutOfBoundsCond" : "arrayIndexOutOfBounds",
arrayIndexMessage(tok, var, index),
CWE788,
index->isInconclusive());