diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-05-29 21:31:44 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-05-29 21:36:58 +0200 |
commit | 40106014f7b5c414faf087472a5ae350e683db53 (patch) | |
tree | cf92f89df803c68b68fd6b8acf52e4c38e5d1b22 /sal | |
parent | e1af55f19df1bceaf24c601cd157e54f56217543 (diff) |
Some cppcheck cleaning
see http://nabble.documentfoundation.org/Advice-needed-about-some-cppcheck-reports-td3986408.html
Change-Id: I4b3b2c87031ab48641e78fce56bd7f86c606b48b
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/file.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } } |