From c338f61286366bd140f59829461135700c06ce33 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 13 Mar 2014 11:57:02 +0000 Subject: coverity#707909 Uninitialized scalar field Change-Id: I0cf8f5f862afb13b406776e17dd5036cefe23f3b --- hwpfilter/source/hwpread.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx index 57fe728ccb58..0facd76005e5 100644 --- a/hwpfilter/source/hwpread.cxx +++ b/hwpfilter/source/hwpread.cxx @@ -734,13 +734,14 @@ bool Compose::Read(HWPFile & hwpf) return !hwpf.State(); } - // hyphen(24) -Hyphen::Hyphen():HBox(CH_HYPHEN) +Hyphen::Hyphen() + : HBox(CH_HYPHEN) + , width(0) + , dummy(0) { } - bool Hyphen::Read(HWPFile & hwpf) { hwpf.Read2b(&width, 1); -- cgit v1.2.3