summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-09 16:46:17 +0000
committerAndras Timar <andras.timar@collabora.com>2015-03-20 12:13:46 +0100
commit66d3f384b9aae524485a1f9347b0a46e96c469ed (patch)
treeb4a44d28bd308cbcd1ccd9f41906bae677257a42
parente3995fae976dafd5c65995821c149dfb55598e5f (diff)
coverity#707895 Uninitialized scalar field
Change-Id: I729b77264dbf9cda7f48aba66e622cc6ec7e1d71 (cherry picked from commit 2d1da7cfc0eb3f34dfc0441c5b6c1bfade1e1dbc)
-rw-r--r--hwpfilter/source/hbox.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx
index 299e0c846fcc..9b07683ec6f0 100644
--- a/hwpfilter/source/hbox.cxx
+++ b/hwpfilter/source/hbox.cxx
@@ -129,7 +129,6 @@ Bookmark::~Bookmark(void)
{
}
-
// date format(7)
DateFormat::DateFormat()
: HBox(CH_DATE_FORM)
@@ -137,14 +136,14 @@ DateFormat::DateFormat()
{
}
-
// date code(8)
-
-DateCode::DateCode(void):HBox(CH_DATE_CODE)
+DateCode::DateCode()
+ : HBox(CH_DATE_CODE)
+ , dummy(0)
+ , key(0)
{
}
-
#define _DATECODE_WEEK_DEFINES_
#include "datecode.h"