From 90db9830d0e8c344af340a30b6d5779fefe74d49 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 23 Apr 2015 09:49:00 +0100 Subject: cppcheck: uselessAssignmentArg Change-Id: I94be63174d996069fc5ec9c93d14ccd5a39cb029 --- sal/osl/unx/profile.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'sal') diff --git a/sal/osl/unx/profile.cxx b/sal/osl/unx/profile.cxx index ac6a24f56142..4feb4ebfb8b0 100644 --- a/sal/osl/unx/profile.cxx +++ b/sal/osl/unx/profile.cxx @@ -1774,7 +1774,6 @@ static void osl_ProfileGenerateExtension(const sal_Char* pszFileName, const sal_ { memcpy(cursor, pszExtension, BufferMaxLen - 1); cursor += BufferMaxLen - 1; - BufferMaxLen = 1; } *cursor = 0; -- cgit