valgrind: uninitialized reads

Change-Id: Ia1e821d1e323d85c65484c980be09f015af6517b
This commit is contained in:
Caolán McNamara
2017-03-21 09:06:54 +00:00
parent 9f9e861c6d
commit afabc7d2f2

View File

@@ -150,6 +150,7 @@ bool HWPPara::Read(HWPFile & hwpf, unsigned char flag)
perror("Memory Allocation: cshape\n");
return false;
}
memset(cshapep, 0, nch * sizeof(CharShape));
for (ii = 0; ii < nch; ii++)
{