Kaydet (Commit) c803de01 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#707907 Uninitialized scalar field

Change-Id: Ia3025324ecf4385e90ab31771195f7c3d8574eb9
üst af06eb69
...@@ -460,14 +460,20 @@ bool Picture::Read(HWPFile & hwpf) ...@@ -460,14 +460,20 @@ bool Picture::Read(HWPFile & hwpf)
return !hwpf.State(); return !hwpf.State();
} }
// line(15) // line(15)
Line::Line()
Line::Line():FBox(CH_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) bool Line::Read(HWPFile & hwpf)
{ {
hwpf.Read2b(reserved, 2); hwpf.Read2b(reserved, 2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment