From 18fa6e2081a5071ece0e5ddb8a95bd5ab73b1873 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 13 Mar 2014 11:54:56 +0000 Subject: coverity#707913 Uninitialized scalar field Change-Id: I05aaab5c88a745157f578a15bcf2a6c3a7b8858b --- hwpfilter/source/hwpread.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'hwpfilter/source') 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); -- cgit