summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-02-18 01:22:02 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-02-18 02:55:13 -0600
commitb8d8bb8e0db51b45adf1c798dc77b6eb580d2003 (patch)
treec2e9bff6e3df46627aa8199b99690cb8fdae0fd0 /hwpfilter
parent313ea4b2c386d93c548442a8f14265a93a5819f1 (diff)
coverity#984094 Uninitialized scalar field
Change-Id: I114abdb07760e128e40a6e4a82d276584aabed97
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hbox.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx
index 033df90642b5..c3b9d60928c7 100644
--- a/hwpfilter/source/hbox.cxx
+++ b/hwpfilter/source/hbox.cxx
@@ -78,9 +78,11 @@ hunit HBox::Height(CharShape *csty)
// skip block
-SkipData::SkipData(hchar hch):HBox(hch)
+SkipData::SkipData(hchar hch)
+ : HBox(hch)
+ , data_block_len(0)
+ , data_block(0)
{
- data_block = 0;
}