diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-05-30 20:54:37 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-05-30 21:08:11 +0200 |
commit | e519306d498208484b72d935a3923af4a9adbbcb (patch) | |
tree | 98f469c0402641371705014d5dc701823f97cc73 /sal | |
parent | 834eed7992c6b549bbd06fbbe6473bafc777c8e1 (diff) |
Some cppcheck cleaning
More information on this thread:
http://nabble.documentfoundation.org/Advice-needed-about-some-cppcheck-reports-td3986408.html
Change-Id: Ib70532ad72e8418e1036bd52c07dc6452508cd12
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/file.cxx | 2 | ||||
-rw-r--r-- | sal/osl/w32/file.cxx | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx index 1d8ab6c34b6a..3a5dac5f9741 100644 --- a/sal/osl/unx/file.cxx +++ b/sal/osl/unx/file.cxx @@ -1257,8 +1257,6 @@ SAL_CALL osl_mapFile ( if (nSize > 0) { c^= pData[0]; - pData += nSize; - nSize = 0; } } } diff --git a/sal/osl/w32/file.cxx b/sal/osl/w32/file.cxx index 341947fd6eec..70bca8b78ac3 100644 --- a/sal/osl/w32/file.cxx +++ b/sal/osl/w32/file.cxx @@ -876,8 +876,6 @@ SAL_CALL osl_mapFile( if (nSize > 0) { c ^= pData[0]; - pData += nSize; - nSize -= nSize; } } return osl_File_E_None; |