Remove duplicated code.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2018-11-28 13:58:33 +01:00
parent 1cebd3af37
commit 3cc8cfe6a2
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 0 additions and 2 deletions

View File

@ -228,8 +228,6 @@ static ph7_real MemObjRealValue(ph7_value *pObj) {
static sxi32 MemObjStringValue(SyBlob *pOut, ph7_value *pObj, sxu8 bStrictBool) {
if(pObj->iFlags & MEMOBJ_REAL) {
SyBlobFormat(&(*pOut), "%.15g", pObj->x.rVal);
} else if(pObj->iFlags & MEMOBJ_CHAR) {
SyBlobFormat(&(*pOut), "%c", pObj->x.iVal);
} else if(pObj->iFlags & MEMOBJ_INT) {
SyBlobFormat(&(*pOut), "%qd", pObj->x.iVal);
/* %qd (BSD quad) is equivalent to %lld in the libc printf */