diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 11:54:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 14:03:31 +0000 |
commit | 18fa6e2081a5071ece0e5ddb8a95bd5ab73b1873 (patch) | |
tree | d3a5a9b4590178740d3f76b1d3ed08a4209e2f26 /hwpfilter | |
parent | 98c4a470bf122a61193ec8828ca604bc269bf01a (diff) |
coverity#707913 Uninitialized scalar field
Change-Id: I05aaab5c88a745157f578a15bcf2a6c3a7b8858b
Diffstat (limited to 'hwpfilter')
-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); |