diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-08 20:38:44 +0000 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-12-09 09:00:02 +0000 |
commit | ec2b10a8f47a92971464dfa741392d5410ffb2f8 (patch) | |
tree | 7f70698baef700305446cc76cba03bdc365b65fe /lotuswordpro/source | |
parent | e3ece9c844435432269de62b7c666e6dd93adbf2 (diff) |
valgrind: jump or move depends on uninitialised value
Change-Id: I02e507f4b7d78efacc5b735ca24adb83633749b9
(cherry picked from commit dcbef55a111405b4540856bf6910f81bce9785bb)
Reviewed-on: https://gerrit.libreoffice.org/20480
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'lotuswordpro/source')
-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" { |