From 6c50dafbace39278ca55c17297028631f5e62ae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 27 Nov 2017 23:34:01 +0100 Subject: [PATCH] Fix classInfo to fix TestCppcheck assertion --- lib/checkstring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkstring.h b/lib/checkstring.h index a77362ace..430253687 100644 --- a/lib/checkstring.h +++ b/lib/checkstring.h @@ -130,7 +130,7 @@ private: "- suspicious condition (string literals as boolean)\n" "- suspicious comparison of a string literal with a char* variable\n" "- suspicious comparison of '\\0' with a char* variable\n" - "- overlapping string comparisons (strcmp(str,\"x\")==0 || strcmp(str,\"y\")!=0)"; + "- overlapping string comparisons (strcmp(str,\"x\")==0 || strcmp(str,\"y\")!=0)\n"; } }; /// @}