diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 23:32:01 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 23:32:01 +0000 |
commit | 7dfc862e28fddea6ad072acc2e3777bac5211a38 (patch) | |
tree | 218e1af2e9278ddde664f2136ff03fc32e8ea0d5 /store | |
parent | 5afef5b4f4de15428225477fc761285f588585fa (diff) |
INTEGRATION: CWS warnings01 (1.4.12); FILE MERGED
2005/11/07 12:11:49 sb 1.4.12.3: #i53898# Made code warning-free (additional -W switches for GCC).
2005/09/22 21:56:20 sb 1.4.12.2: RESYNC: (1.4-1.6); FILE MERGED
2005/09/02 16:30:31 sb 1.4.12.1: #i53898# Made code warning-free.
Diffstat (limited to 'store')
-rw-r--r-- | store/source/fileunx.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/store/source/fileunx.hxx b/store/source/fileunx.hxx index e28851c416f2..00ac56ce4fe6 100644 --- a/store/source/fileunx.hxx +++ b/store/source/fileunx.hxx @@ -4,9 +4,9 @@ * * $RCSfile: fileunx.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: kz $ $Date: 2005-09-13 10:32:20 $ + * last change: $Author: hr $ $Date: 2006-06-20 00:32:01 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -115,7 +115,7 @@ inline HSTORE __store_fmap (HSTORE hFile) /* * __store_funmap. */ -inline void __store_funmap (HSTORE hMap) +inline void __store_funmap (HSTORE) { // Nothing to do, see '__store_fmap()'. } @@ -296,7 +296,7 @@ inline storeError __store_ftrunc (HSTORE h, sal_uInt32 n) sal_uInt32 k = (sal_uInt32)::lseek (h, (off_t)0, SEEK_END); if (k == (sal_uInt32)(-1)) return (result); - if ((0 <= n) && (n <= k)) + if (n <= k) return (result); // Try 'expand' via 'lseek()' and 'write()'. |