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:49:50 +02:00
parent ac8b8b0fdb
commit af1d59dab4
4 changed files with 0 additions and 57 deletions

View File

@@ -1794,8 +1794,6 @@ int ph7_value_double(ph7_value *pVal, double Value) {
PH7_MemObjRelease(pVal);
pVal->rVal = (ph7_real)Value;
MemObjSetType(pVal, MEMOBJ_REAL);
/* Try to get an integer representation also */
PH7_MemObjTryInteger(pVal);
return PH7_OK;
}
/*