From: Marcus Boerger Date: Tue, 25 Oct 2005 23:11:26 +0000 (+0000) Subject: - Make the code a bit clearer X-Git-Tag: RELEASE_0_9_1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff5ae1d0de179c9d3d03c7ea1b3147d7b780c8ed;p=php - Make the code a bit clearer --- diff --git a/Zend/zend_API.c b/Zend/zend_API.c index b3446073eb..37dd1a630a 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -2530,12 +2530,12 @@ ZEND_API zend_bool zend_is_callable_ex(zval *callable, uint check_flags, zval *c unsigned int lcname_len; char *lcname; zend_bool retval = 0; - zend_class_entry *ce; + zend_class_entry *ce_local; zend_function *fptr_local; zval **zobj_ptr_local; if (ce_ptr == NULL) { - ce_ptr = &ce; + ce_ptr = &ce_local; } if (fptr_ptr == NULL) { fptr_ptr = &fptr_local; @@ -2568,7 +2568,7 @@ ZEND_API zend_bool zend_is_callable_ex(zval *callable, uint check_flags, zval *c case IS_ARRAY: { - zend_class_entry **pce; + zend_class_entry *ce = NULL, **pce; zval **method; zval **obj;