From 43b623f2a26f888386ba35e44a0fd5ea3873d98e Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 9 Feb 2008 21:22:22 +0000 Subject: [PATCH] - Windows build fix --- Zend/zend_API.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.50.1