projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
IDE navigatable token classes
[m6w6/ext-psi]
/
src
/
marshal.c
diff --git
a/src/marshal.c
b/src/marshal.c
index 61bd4e9ac388de0e7e1eb7e2eff1c319aa666cbc..c771e79f246f4c401cf5d8c3e5de2e07e8cbf89f 100644
(file)
--- 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 {
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);
} else {
zend_string *zs = zval_get_string(zvalue);
tmp->ptr = estrdup(zs->val);