summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-01-18 21:06:18 +0000
committerAntony Dovgal <tony2001@php.net>2006-01-18 21:06:18 +0000
commit79bebd9bf8df5f9c274c6e6783b895363cb3c67e (patch)
treed02e1a84e9ffed7b29b9edcd28288cf1acc07a4e
parent01476c3ea7ff4970eeae5af17b98250c6aa786ab (diff)
downloadphp-git-79bebd9bf8df5f9c274c6e6783b895363cb3c67e.tar.gz
make sure ce_child is properly initialized
-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 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 {