diff options
author | Matthias Huetsch <mhu@openoffice.org> | 2001-11-26 20:14:19 +0000 |
---|---|---|
committer | Matthias Huetsch <mhu@openoffice.org> | 2001-11-26 20:14:19 +0000 |
commit | 7f9fd508495e521eb87a664b24d449a4450c34ec (patch) | |
tree | 06a78360888843b2f0becc4b52694de91a5cc7e0 /store | |
parent | 66fc9bcf282ea5aa5a525bfbbd192bdf6d0cfa45 (diff) |
#95272# Fixed 'statement w/ no effect' in OStoreSuperBlock::verify().
#i1750# Warning (uncovering a bug) provided by 'Wall' compilation.
Diffstat (limited to 'store')
-rw-r--r-- | store/source/storbase.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/store/source/storbase.cxx b/store/source/storbase.cxx index 1efc8e1bb2fc..ae2c33869d04 100644 --- a/store/source/storbase.cxx +++ b/store/source/storbase.cxx @@ -2,9 +2,9 @@ * * $RCSfile: storbase.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: mhu $ $Date: 2001-08-09 16:12:28 $ + * last change: $Author: mhu $ $Date: 2001-11-26 21:14:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -59,7 +59,7 @@ * ************************************************************************/ -#define _STORE_STORBASE_CXX_ "$Revision: 1.3 $" +#define _STORE_STORBASE_CXX_ "$Revision: 1.4 $" #ifndef __ALGORITHM__ #include <algorithm> @@ -424,7 +424,7 @@ struct OStoreSuperBlock nMagic = OSL_SWAPDWORD(nMagic); #endif /* OSL_BIGENDIAN */ if (nMagic != STORE_MAGIC_SUPERBLOCK) - store_E_WrongFormat; + return store_E_WrongFormat; sal_uInt32 nCRC32 = 0; nCRC32 = G::crc32 (nCRC32, &m_aGuard.m_nMagic, sizeof(sal_uInt32)); |