From: Marcus Boerger Date: Sat, 9 Feb 2008 21:22:22 +0000 (+0000) Subject: - Windows build fix X-Git-Tag: RELEASE_2_0_0a1~554 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43b623f2a26f888386ba35e44a0fd5ea3873d98e;p=php - Windows build fix --- diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 9738ed5cd9..29b29bea97 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -2650,6 +2650,7 @@ static int zend_is_callable_check_func(int check_flags, zval ***zobj_ptr_ptr, ze zstr lmname, mname, colon = NULL_ZSTR; unsigned int clen = 0, mlen; zend_function *fptr; + zend_class_entry *last_scope; HashTable *ftable; if (error) { @@ -2721,7 +2722,7 @@ static int zend_is_callable_check_func(int check_flags, zval ***zobj_ptr_ptr, ze if (colon.v != NULL) { /* This is a compound name. * Try to fetch class and then find static method. */ - zend_class_entry *last_scope = EG(scope); + last_scope = EG(scope); if (ce_org) { EG(scope) = ce_org; }