From 43103c84d898944dc800eaf62e5021ccc2bf1be4 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Thu, 7 Nov 2013 05:15:36 -0800 Subject: [PATCH] Checkother:memsetZeroBytes: removed not needed '\n' from verbose message. --- lib/checkother.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 73c73ca52..02e3be504 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -1736,8 +1736,9 @@ void CheckOther::checkMemsetZeroBytes() void CheckOther::memsetZeroBytesError(const Token *tok, const std::string &varname) { const std::string summary("memset() called to fill 0 bytes of '" + varname + "'."); - const std::string verbose(summary + " The second and third arguments might be inverted.\n" - "The function memset ( void * ptr, int value, size_t num ) sets the first num bytes of the block of memory pointed by ptr to the specified value."); + const std::string verbose(summary + " The second and third arguments might be inverted." + " The function memset ( void * ptr, int value, size_t num ) sets the" + " first num bytes of the block of memory pointed by ptr to the specified value."); reportError(tok, Severity::warning, "memsetZeroBytes", summary + "\n" + verbose); }