diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-09 17:16:04 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-03-20 12:28:05 +0100 |
commit | 10c050becdfa5054c1f31e146cd74a0679ba940e (patch) | |
tree | b4da417ca1c495c31eb456cc7fcc01f2c815a381 | |
parent | b4bf1e8565059291d476d1fab588fd84ac1a6b08 (diff) |
coverity#707907 Uninitialized scalar field
Change-Id: Ia3025324ecf4385e90ab31771195f7c3d8574eb9
(cherry picked from commit c803de01214221991945dfc7cc999062f3d9893b)
-rw-r--r-- | hwpfilter/source/hwpread.cxx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx index 9764157fdee1..a1c1c145d0ac 100644 --- a/hwpfilter/source/hwpread.cxx +++ b/hwpfilter/source/hwpread.cxx @@ -460,14 +460,20 @@ bool Picture::Read(HWPFile & hwpf) return !hwpf.State(); } - // line(15) - -Line::Line():FBox(CH_LINE) +Line::Line() + : FBox(CH_LINE) + , dummy(0) + , sx(0) + , sy(0) + , ex(0) + , ey(0) + , width(0) + , shade(0) + , color(0) { } - bool Line::Read(HWPFile & hwpf) { hwpf.Read2b(reserved, 2); |