From 4218698fb1d56a1c04386f69245b8cba7f0bf90f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 25 Feb 2019 09:08:16 +0100 Subject: [PATCH] Moved CheckString::checkIncorrectStringCompare from runSimplifiedChecks to runChecks --- lib/checkstring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkstring.h b/lib/checkstring.h index bda4c4180..b432c8625 100644 --- a/lib/checkstring.h +++ b/lib/checkstring.h @@ -58,6 +58,7 @@ public: checkString.checkSuspiciousStringCompare(); checkString.stringLiteralWrite(); checkString.overlappingStrcmp(); + checkString.checkIncorrectStringCompare(); } /** @brief Run checks against the simplified token list */ @@ -65,7 +66,6 @@ public: CheckString checkString(tokenizer, settings, errorLogger); // Checks - checkString.checkIncorrectStringCompare(); checkString.checkAlwaysTrueOrFalseStringCompare(); checkString.sprintfOverlappingData(); }