diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-09 17:16:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-09 17:16:04 +0000 |
commit | c803de01214221991945dfc7cc999062f3d9893b (patch) | |
tree | 2bacc8e8ac8484774ca3dbd2d8c52a9fd1e784ee /hwpfilter | |
parent | af06eb691ef760c80cb4a92b81b70404a6e63c6e (diff) |
coverity#707907 Uninitialized scalar field
Change-Id: Ia3025324ecf4385e90ab31771195f7c3d8574eb9
Diffstat (limited to 'hwpfilter')
-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); |