diff options
author | Antony Dovgal <tony2001@php.net> | 2006-01-18 21:06:18 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-01-18 21:06:18 +0000 |
commit | 79bebd9bf8df5f9c274c6e6783b895363cb3c67e (patch) | |
tree | d02e1a84e9ffed7b29b9edcd28288cf1acc07a4e | |
parent | 01476c3ea7ff4970eeae5af17b98250c6aa786ab (diff) | |
download | php-git-79bebd9bf8df5f9c274c6e6783b895363cb3c67e.tar.gz |
make sure ce_child is properly initialized
-rw-r--r-- | Zend/zend_execute_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 4c8e0e3391..d9d7333264 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -759,7 +759,7 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS } } if (calling_scope && colon != NULL) { - zend_class_entry **pce, *ce_child; + zend_class_entry **pce, *ce_child = NULL; if (zend_u_lookup_class(Z_TYPE_P(fci->function_name), Z_STRVAL_P(fci->function_name), clen, &pce TSRMLS_CC) == SUCCESS) { ce_child = *pce; } else { |