summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-01-18 21:06:47 +0000
committerAntony Dovgal <tony2001@php.net>2006-01-18 21:06:47 +0000
commit01e8d313c8fa2e206243c3e04ad82a5d41563ec1 (patch)
treec920a6311af6d28c03ed247e6be7f0f745eeeebc /Zend/zend_execute_API.c
parent26ef74f867b7bc14a5c6c8d23923ca576da3cfb1 (diff)
downloadphp-git-01e8d313c8fa2e206243c3e04ad82a5d41563ec1.tar.gz
MFH: make sure ce_child is properly initialized
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index 4d2ea633b6..33000ab9f6 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -713,7 +713,7 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS
if (calling_scope && (colon = strstr(fname, "::")) != NULL) {
int clen = colon - fname;
int mlen = fname_len - clen - 2;
- zend_class_entry **pce, *ce_child;
+ zend_class_entry **pce, *ce_child = NULL;
if (zend_lookup_class(fname, clen, &pce TSRMLS_CC) == SUCCESS) {
ce_child = *pce;
} else {