diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-09 16:37:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-09 16:37:52 +0000 |
commit | 2b3470a2c05f611618f0b0ab68cc3d57b45dab65 (patch) | |
tree | 196791bcd22e43c80237418d8e701e0501ace00b /hwpfilter | |
parent | 409727fa65df977ace5adf8737773ec6ce2c1a1f (diff) |
coverity#707893 Uninitialized scalar field
Change-Id: Ib3dfe4dae625816ee070b0aa5e08fc92e6454131
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hbox.cxx | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx index 08b4cf8186c5..085030b59545 100644 --- a/hwpfilter/source/hbox.cxx +++ b/hwpfilter/source/hbox.cxx @@ -354,13 +354,21 @@ hunit TxtBox::Height(CharShape * csty) // picture(11) -Picture::Picture(void):FBox(CH_PICTURE) +Picture::Picture() + : FBox(CH_PICTURE) + , dummy(0) + , follow_block_size(0) + , dummy1(0) + , dummy2(0) + , reserved1(0) + , cap_pos(0) + , num(0) + , pictype(0) + , follow(0) + , ishyper(false) { - follow = 0; - ishyper = false; } - Picture::~Picture(void) { delete[]follow; |