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

This commit is contained in:
Rafal Kupiec 2018-09-07 06:43:07 +02:00
parent 9ee0f1954c
commit ac8b8b0fdb
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

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;
}