Fix void dump.
All checks were successful
The build was successful.

This commit is contained in:
Rafal Kupiec 2019-04-06 16:51:32 +02:00
父節點 bda8316e1b
當前提交 d34c8ceafb
簽署人: belliash
GPG Key ID: 4E829243E0CFE6B4

查看文件

@ -1292,7 +1292,7 @@ PH7_PRIVATE sxi32 PH7_MemObjDump(
/* Dump class instance attributes */
rc = PH7_ClassInstanceDump(&(*pOut), (ph7_class_instance *)pObj->x.pOther, ShowType, nTab + 1, nDepth + 1);
} else if(pObj->iFlags & MEMOBJ_VOID) {
SyBlobAppend(&(*pOut), "NULL", sizeof("NULL"));
SyBlobAppend(&(*pOut), "NULL", sizeof("NULL") - 1);
} else {
SyBlob *pContents = &pObj->sBlob;
/* Get a printable representation of the contents */