[Libreoffice-commits] core.git: hwpfilter/source

Caolán McNamara caolanm at redhat.com
Sun Mar 9 10:04:29 PDT 2014


 hwpfilter/source/hbox.cxx    |    2 +-
 hwpfilter/source/hwpread.cxx |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 988de444299803e749f4a4577edb0524ccc51433
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Mar 9 17:02:34 2014 +0000

    coverity#707903 Uninitialized scalar field
    
    Change-Id: If5129c422ba990110aef1faed6141ce4e56df1c4

diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx
index 7bf1d52..c2b8647 100644
--- a/hwpfilter/source/hbox.cxx
+++ b/hwpfilter/source/hbox.cxx
@@ -99,7 +99,7 @@ FieldCode::FieldCode()
     , str1(NULL)
     , str2(NULL)
     , str3(NULL)
-    , bin(NULL);
+    , bin(NULL)
     , m_pDate(NULL)
 {
     reserved1 = new char[4];
diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx
index 1077c6d..ae6a0a8 100644
--- a/hwpfilter/source/hwpread.cxx
+++ b/hwpfilter/source/hwpread.cxx
@@ -812,7 +812,9 @@ bool KeepSpace::Read(HWPFile & hwpf)
 
 
 /* °íÁ¤Æø ºóÄ­(31) */
-FixedSpace::FixedSpace():HBox(CH_FIXED_SPACE)
+FixedSpace::FixedSpace()
+    : HBox(CH_FIXED_SPACE)
+    , dummy(0)
 {
 }
 


More information about the Libreoffice-commits mailing list