X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fmarshal.c;h=c771e79f246f4c401cf5d8c3e5de2e07e8cbf89f;hp=61bd4e9ac388de0e7e1eb7e2eff1c319aa666cbc;hb=e11280a7b6ed67a4d79b14569ca06131ea2338bd;hpb=a887001351f8c6c963b2ff0fcd64d71b439c3d79 diff --git a/src/marshal.c b/src/marshal.c index 61bd4e9..c771e79 100644 --- a/src/marshal.c +++ b/src/marshal.c @@ -400,8 +400,6 @@ impl_val *psi_let_strval(impl_val *tmp, struct psi_decl_type *spec, token_t impl } else { tmp->ptr = ""; } - } else if (0 && Z_TYPE_P(zvalue) == IS_STRING) { - tmp->ptr = Z_STRVAL_P(zvalue); } else { zend_string *zs = zval_get_string(zvalue); tmp->ptr = estrdup(zs->val);