Properly zero-initialise local variable

This commit is contained in:
baldurk committed 2018-05-24 21:42:29 +01:00
1 parent d2cdca45a5
commit 929bd3af49
1 file changed
+1 -1
+1 -1
View File
@@ -348,7 +348,7 @@ SPDBChunk::SPDBChunk(void *chunk)
RDCASSERT(moduledata[0] == CV_SIGNATURE_C13);
std::string localName;
CV_typ_t localType;
CV_typ_t localType = 0;
byte *basePtr = (byte *)&moduledata[1];