diff options
-rw-r--r-- | Zend/zend_API.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index b9e97cb342..668ddff39f 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1039,9 +1039,10 @@ static int zval_update_class_constant(zval **pp, int is_static, int offset TSRML zend_hash_move_forward_ex(&ce->properties_info, &pos)) { if (is_static == ((prop_info->flags & ZEND_ACC_STATIC) != 0) && offset == prop_info->offset) { + int ret; zend_class_entry *old_scope = *scope; *scope = prop_info->ce; - int ret = zval_update_constant(pp, (void*)1 TSRMLS_CC); + ret = zval_update_constant(pp, (void*)1 TSRMLS_CC); *scope = old_scope; return ret; } |