valgrind: uninitialized reads
Change-Id: Ia1e821d1e323d85c65484c980be09f015af6517b
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user