summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-13 13:35:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-13 13:35:07 +0200
commit6d81663a63d209db10fc67d875e054b27d7e45b8 (patch)
tree80e8c9f4faa5643665723b6a400990eef2cae24a
parent956cf66cda7b89838f0979cc12025d88757576f4 (diff)
-Werror,-Wsometimes-uninitialized
Change-Id: Id0bcdba15ebb278de1af8b782c906765aaa2900b
-rw-r--r--binfilter/bf_sw/source/core/swg/sw_rdfmts.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/binfilter/bf_sw/source/core/swg/sw_rdfmts.cxx b/binfilter/bf_sw/source/core/swg/sw_rdfmts.cxx
index 881931e13..596bfac1c 100644
--- a/binfilter/bf_sw/source/core/swg/sw_rdfmts.cxx
+++ b/binfilter/bf_sw/source/core/swg/sw_rdfmts.cxx
@@ -191,7 +191,7 @@ SwFmt* SwSwgReader::InFormat( SwFmt* pFmt, USHORT* pParentId )
BYTE nHelpFid = (BYTE) nHelpFileId;
USHORT nHelpId = USHRT_MAX;
BYTE cFlags;
- USHORT nFmtId;
+ USHORT nFmtId(IDX_NO_VALUE);
if( cFmtKind == SWG_FLYFMT ) nFlyLevel++;
nFmtLvl++;