summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-08 20:38:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-08 20:39:59 +0000
commitdcbef55a111405b4540856bf6910f81bce9785bb (patch)
treeac042388630317a67266c2f5c6c56d7e97dc8566
parentResolve Linker Warning LNK4104 (diff)
downloadcore-dcbef55a111405b4540856bf6910f81bce9785bb.tar.gz
core-dcbef55a111405b4540856bf6910f81bce9785bb.zip
valgrind: jump or move depends on uninitialised value
Change-Id: I02e507f4b7d78efacc5b735ca24adb83633749b9
-rw-r--r--lotuswordpro/source/filter/lwpfilter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpfilter.cxx b/lotuswordpro/source/filter/lwpfilter.cxx
index b6c2e78fb9a9..5326e0cc99c3 100644
--- a/lotuswordpro/source/filter/lwpfilter.cxx
+++ b/lotuswordpro/source/filter/lwpfilter.cxx
@@ -149,8 +149,8 @@ using namespace OpenStormBento;
{
SvStream * pDecompressed = nullptr;
- sal_uInt32 nTag;
pStream->Seek(0x10);
+ sal_uInt32 nTag(0);
pStream->ReadUInt32( nTag );
if (nTag != 0x3750574c) // "LWP7"
{