From 4207b3cb6664e17fb31deb401fa1676a1e40efa1 Mon Sep 17 00:00:00 2001 From: PKEuS Date: Tue, 5 Aug 2014 11:59:26 +0200 Subject: [PATCH] Fixed error message. --- lib/checkclass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkclass.cpp b/lib/checkclass.cpp index cde40fb69..35df498bc 100644 --- a/lib/checkclass.cpp +++ b/lib/checkclass.cpp @@ -2067,7 +2067,7 @@ void CheckClass::checkSelfInitialization() void CheckClass::selfInitializationError(const Token* tok, const std::string& name) { - reportError(tok, Severity::error, "selfInitialization", "Member variable '" + name + "' is initialized by itself.\n"); + reportError(tok, Severity::error, "selfInitialization", "Member variable '" + name + "' is initialized by itself."); }