Skip to content

Commit 7687b8b

Browse files
committed
fix C90 compat
1 parent 7b0993b commit 7687b8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Zend/zend_API.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,9 +1039,10 @@ static int zval_update_class_constant(zval **pp, int is_static, int offset TSRML
10391039
zend_hash_move_forward_ex(&ce->properties_info, &pos)) {
10401040
if (is_static == ((prop_info->flags & ZEND_ACC_STATIC) != 0) &&
10411041
offset == prop_info->offset) {
1042+
int ret;
10421043
zend_class_entry *old_scope = *scope;
10431044
*scope = prop_info->ce;
1044-
int ret = zval_update_constant(pp, (void*)1 TSRMLS_CC);
1045+
ret = zval_update_constant(pp, (void*)1 TSRMLS_CC);
10451046
*scope = old_scope;
10461047
return ret;
10471048
}

0 commit comments

Comments
 (0)