diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 11:54:56 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-03-20 12:28:49 +0100 |
commit | b0e11c316ed7fc77fd3a0c1b1049eefd40e24daf (patch) | |
tree | 06b301bd7ac1aad4035d82ab6a57b31bbb751139 | |
parent | 7faf5d50ecee72c9326aab1ee3ed130e1946fecc (diff) |
coverity#707913 Uninitialized scalar field
Change-Id: I05aaab5c88a745157f578a15bcf2a6c3a7b8858b
(cherry picked from commit 18fa6e2081a5071ece0e5ddb8a95bd5ab73b1873)
-rw-r--r-- | hwpfilter/source/hwpread.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx index 1227bd72f883..ae528fab2b47 100644 --- a/hwpfilter/source/hwpread.cxx +++ b/hwpfilter/source/hwpread.cxx @@ -793,13 +793,16 @@ bool IndexMark::Read(HWPFile & hwpf) return !hwpf.State(); } - // outline(28) -Outline::Outline():HBox(CH_OUTLINE) +Outline::Outline() + : HBox(CH_OUTLINE) + , kind(0) + , shape(0) + , level(0) + , dummy(0) { } - bool Outline::Read(HWPFile & hwpf) { hwpf.Read2b(&kind, 1); |