Browse Source

Since we have fci_cache = &fci_cache_local inside that block

and fci_cache is then later used outside the block, fci_cache_local
can't be block-scoped here
pull/7/head
Rasmus Lerdorf 15 years ago
parent
commit
c44c0490d5
  1. 2
      Zend/zend_execute_API.c

2
Zend/zend_execute_API.c

@ -763,6 +763,7 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS
zend_class_entry *called_scope = NULL;
zval *current_this;
zend_execute_data execute_data;
zend_fcall_info_cache fci_cache_local;
*fci->retval_ptr_ptr = NULL;
@ -797,7 +798,6 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS
}
if (!fci_cache || !fci_cache->initialized) {
zend_fcall_info_cache fci_cache_local;
char *callable_name;
char *error = NULL;

Loading…
Cancel
Save