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

coverity#707916 Uninitialized scalar field

Change-Id: I42a2c556739d41728c68516646facd2009232ae2
üst 7c0abbbf
......@@ -775,15 +775,16 @@ bool TocMark::Read(HWPFile & hwpf)
return !hwpf.State();
}
// index mark(26)
IndexMark::IndexMark()
: HBox(CH_INDEX_MARK)
, pgno(0)
, dummy(0)
{
memset(keyword1, 0, sizeof(keyword1));
memset(keyword2, 0, sizeof(keyword2));
}
bool IndexMark::Read(HWPFile & hwpf)
{
hwpf.Read2b(&keyword1, 60);
......
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