Don't try to get an integer representation of float.
All checks were successful
The build was successful.

This commit is contained in:
2018-09-07 06:43:07 +02:00
parent 9ee0f1954c
commit ac8b8b0fdb

View File

@@ -376,8 +376,6 @@ PH7_PRIVATE sxi32 PH7_MemObjToReal(ph7_value *pObj) {
/* Invalidate any prior representations */
SyBlobRelease(&pObj->sBlob);
MemObjSetType(pObj, MEMOBJ_REAL);
/* Try to get an integer representation */
MemObjTryIntger(&(*pObj));
}
return SXRET_OK;
}