diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-09 17:02:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-09 17:04:03 +0000 |
commit | 988de444299803e749f4a4577edb0524ccc51433 (patch) | |
tree | c1a40b54cf48a71b6d660773e2a785008b528323 /hwpfilter | |
parent | a842c6e7b33aca734946a32ecff90a11e184f802 (diff) |
coverity#707903 Uninitialized scalar field
Change-Id: If5129c422ba990110aef1faed6141ce4e56df1c4
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hbox.cxx | 2 | ||||
-rw-r--r-- | hwpfilter/source/hwpread.cxx | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx index 7bf1d5248c0c..c2b8647ad058 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 1077c6d2b408..ae6a0a84b5b0 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) { } |