com php-src: Removed useless separation: Zend/zend_object_h andlers.c
| From: | Dmitry Stogov | Date: | Wed, 17 Jan 2018 00:00:11 +0000 |
| Subject: | com php-src: Removed useless separation: Zend/zend_object_h andlers.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-100922@lists.php.net to get a copy of this message | ||
Commit: c4fa7345dcca4bd3ba6bf1d337f8a9c8caaed5f0
Author: Dmitry Stogov <dmitry@zend.com> Wed, 17 Jan 2018 03:00:11 +0300
Parents: ecd2624875af4b943f6817e0f63ee7d2c9192c5e
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c4fa7345dcca4bd3ba6bf1d337f8a9c8caaed5f0
Log:
Removed useless separation
Changed paths:
M Zend/zend_object_handlers.c
Diff:
diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c
index ff91d45..c4c7ca5 100644
--- a/Zend/zend_object_handlers.c
+++ b/Zend/zend_object_handlers.c
@@ -648,7 +648,6 @@ zval *zend_std_read_property(zval *object, zval *member, int type, void **cache_
retval = rv;
if (!Z_ISREF_P(rv) &&
(type == BP_VAR_W || type == BP_VAR_RW || type == BP_VAR_UNSET)) {
- SEPARATE_ZVAL_NOREF(rv);
if (UNEXPECTED(Z_TYPE_P(rv) != IS_OBJECT)) {
zend_error(E_NOTICE, "Indirect modification of overloaded property %s::$%s has no
effect", ZSTR_VAL(zobj->ce->name), Z_STRVAL_P(member));
}