com php-src: Forgot to remove unused codes: Zend/zend_API.c
| From: | Dmitry Stogov | Date: | Fri, 07 Mar 2014 09:41:02 +0000 |
| Subject: | com php-src: Forgot to remove unused codes: Zend/zend_API.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77690@lists.php.net to get a copy of this message | ||
Commit: 3da247e7a8a9b73f8f996c28c57fe139b629aaa8
Author: Xinchen Hui <laruence@gmail.com> Fri, 7 Mar 2014 17:41:02 +0800
Parents: 4b3e6fc1297e6758fd8f33ad002cb98d68c30b17
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3da247e7a8a9b73f8f996c28c57fe139b629aaa8
Log:
Forgot to remove unused codes
Changed paths:
M Zend/zend_API.c
Diff:
diff --git a/Zend/zend_API..c b/Zend/zend_API.c
index 720815d..c0f7d53 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -3155,13 +3155,7 @@ ZEND_API zend_bool zend_is_callable_ex(zval *callable, zval *object_ptr, uint
ch
if (zend_hash_num_elements(Z_ARRVAL_P(callable)) == 2) {
obj = zend_hash_index_find(Z_ARRVAL_P(callable), 0);
- if (Z_TYPE_P(obj) == IS_REFERENCE) {
- obj = Z_REFVAL_P(obj);
- }
method = zend_hash_index_find(Z_ARRVAL_P(callable), 1);
- if (Z_TYPE_P(method) == IS_REFERENCE) {
- method = Z_REFVAL_P(method);
- }
}
do {