From 4ababeb70455cee6f5f0133afb1b17fa709be3e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 11 Mar 2019 21:39:39 +0100 Subject: [PATCH] Fix 'make checkcfg' --- lib/checkbufferoverrun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkbufferoverrun.cpp b/lib/checkbufferoverrun.cpp index 8ba87b2c3..c6c1ad836 100644 --- a/lib/checkbufferoverrun.cpp +++ b/lib/checkbufferoverrun.cpp @@ -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());