From da2a1799ca127c6799e864c03c52c82f05b3b5c1 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 9 Feb 2008 21:22:31 +0000 Subject: [PATCH] - MFH 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 2487d5e239..dd5cd3888d 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -2312,6 +2312,7 @@ static int zend_is_callable_check_func(int check_flags, zval ***zobj_ptr_ptr, ze char *lmname, *colon; int clen, mlen; zend_function *fptr; + zend_class_entry *last_scope; HashTable *ftable; if (error) { @@ -2359,7 +2360,7 @@ static int zend_is_callable_check_func(int check_flags, zval ***zobj_ptr_ptr, ze /* 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.40.0