diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 11:56:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 14:03:31 +0000 |
commit | fc77ac3d4baeab566f8b2317bb27ab525ce0e201 (patch) | |
tree | a2eeea3af03ca9ec643ab1b230061cd120ccb2a2 | |
parent | 47c1dbb955c0904f2eb99ae921323ee5711fabcd (diff) |
coverity#707911 Uninitialized scalar field
Change-Id: I7a7c6cbdd8619687bf1dded6f399cc1c3cf753a7
-rw-r--r-- | hwpfilter/source/hwpread.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx index 2a35a3af3331..57fe728ccb58 100644 --- a/hwpfilter/source/hwpread.cxx +++ b/hwpfilter/source/hwpread.cxx @@ -608,13 +608,15 @@ bool Footnote::Read(HWPFile & hwpf) return !hwpf.State(); } - // auto number(18) -AutoNum::AutoNum():HBox(CH_AUTO_NUM) +AutoNum::AutoNum() + : HBox(CH_AUTO_NUM) + , type(0) + , number(0) + , dummy(0) { } - bool AutoNum::Read(HWPFile & hwpf) { hwpf.Read2b(&type, 1); |