From 40106014f7b5c414faf087472a5ae350e683db53 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Tue, 29 May 2012 21:31:44 +0200 Subject: Some cppcheck cleaning see http://nabble.documentfoundation.org/Advice-needed-about-some-cppcheck-reports-td3986408.html Change-Id: I4b3b2c87031ab48641e78fce56bd7f86c606b48b --- sal/osl/unx/file.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal/osl/unx') diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx index dbf256d68b3e..1d8ab6c34b6a 100644 --- a/sal/osl/unx/file.cxx +++ b/sal/osl/unx/file.cxx @@ -1258,7 +1258,7 @@ SAL_CALL osl_mapFile ( { c^= pData[0]; pData += nSize; - nSize -= nSize; + nSize = 0; } } } -- cgit