diff options
author | Anatol Belski <ab@php.net> | 2013-03-19 14:42:18 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2013-03-19 14:42:18 +0100 |
commit | 7687b8b81c599b0374cb902e9dd812d2cfc12efd (patch) | |
tree | dc446715d988a585064c2a25bb1bf221b60472bf | |
parent | 7b0993bfb4b19bb160a72310b907c4fc12a5bef9 (diff) | |
download | php-git-7687b8b81c599b0374cb902e9dd812d2cfc12efd.tar.gz |
fix C90 compat
-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; } |