summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-09 17:19:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-09 17:19:09 +0000
commit21ece490ff555606cb773fd904fd01b01e384fb6 (patch)
tree55f271e9a35c5e2021a04bbf5dc98ca00c077f97 /hwpfilter
parentc803de01214221991945dfc7cc999062f3d9893b (diff)
coverity#707908 Uninitialized scalar field
Change-Id: I867ca635f3bd64b6d5157439dbbf3e9587d51842
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hwpread.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx
index a1c1c145d0ac..a4f159525e17 100644
--- a/hwpfilter/source/hwpread.cxx
+++ b/hwpfilter/source/hwpread.cxx
@@ -527,13 +527,13 @@ bool Line::Read(HWPFile & hwpf)
return !hwpf.State();
}
-
// hidden(15)
-Hidden::Hidden():HBox(CH_HIDDEN)
+Hidden::Hidden()
+ : HBox(CH_HIDDEN)
+ , dummy(0)
{
}
-
bool Hidden::Read(HWPFile & hwpf)
{
hwpf.Read2b(reserved, 2);