Skip to content

Commit

Permalink
make sure ce_child is properly initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
tony2001 committed Jan 18, 2006
1 parent 01476c3 commit 79bebd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_execute_API.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 79bebd9

Please sign in to comment.