summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/tocread.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-12 21:00:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-13 10:16:07 +0100
commitb7af008a35f48b821dd95f3d2d945f254bf4ed26 (patch)
tree4ea4e0a6f0eed32e72f8c043b94cc2bfafebb165 /lotuswordpro/source/filter/tocread.cxx
parent46a924d34890f64e168ab247bcdad47cfc44a889 (diff)
remove first chunk of lotuswordpro warnings
Diffstat (limited to 'lotuswordpro/source/filter/tocread.cxx')
-rw-r--r--lotuswordpro/source/filter/tocread.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/tocread.cxx b/lotuswordpro/source/filter/tocread.cxx
index 6cd1fb2ece07..6eb740020583 100644
--- a/lotuswordpro/source/filter/tocread.cxx
+++ b/lotuswordpro/source/filter/tocread.cxx
@@ -99,7 +99,10 @@ CBenTOCReader::ReadLabel(unsigned long * pTOCOffset, unsigned long * pTOCSize)
BenByte * pCurrLabel = Label + BEN_MAGIC_BYTES_SIZE;
- BenWord Flags = UtGetIntelWord(pCurrLabel); pCurrLabel += 2; // Flags
+#ifndef NDEBUG
+ BenWord Flags =
+#endif
+ UtGetIntelWord(pCurrLabel); pCurrLabel += 2; // Flags
// Newer files are 0x0101--indicates if big or little endian. Older
// files are 0x0 for flags
assert(Flags == 0x0101 || Flags == 0x0);