diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-08 20:38:44 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-12-10 16:11:59 +0100 |
commit | 73f34be13a92654c58eb5ce29b4b3ae17bd11404 (patch) | |
tree | 20806bbb3c36624684b02b5f087fb8a2a46d643d | |
parent | 0ef1d4375c6360fa988287c8dd71d6a9b5a16b2a (diff) |
valgrind: jump or move depends on uninitialised value
Change-Id: I02e507f4b7d78efacc5b735ca24adb83633749b9
(cherry picked from commit dcbef55a111405b4540856bf6910f81bce9785bb)
Reviewed-on: https://gerrit.libreoffice.org/20479
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit ca57260f3e95dfd6c111dd1ffd4711d6c8ac6dca)
-rw-r--r-- | lotuswordpro/source/filter/lwpfilter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpfilter.cxx b/lotuswordpro/source/filter/lwpfilter.cxx index 8f93df0ce5cd..c77d2dee2b29 100644 --- a/lotuswordpro/source/filter/lwpfilter.cxx +++ b/lotuswordpro/source/filter/lwpfilter.cxx @@ -148,8 +148,8 @@ using namespace OpenStormBento; { SvStream * pDecompressed = NULL; - sal_uInt32 nTag; pStream->Seek(0x10); + sal_uInt32 nTag(0); pStream->ReadUInt32( nTag ); if (nTag != 0x3750574c) // "LWP7" { |