From: Felipe Pena Date: Thu, 8 May 2008 15:39:35 +0000 (+0000) Subject: - Fix valgrind report (Conditional jump or move depends on uninitialised value) X-Git-Tag: RELEASE_2_0_0b1~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb9f7f675f75ad57f6a126a632c5ad06097c3f7d;p=php - Fix valgrind report (Conditional jump or move depends on uninitialised value) --- diff --git a/Zend/zend_API.c b/Zend/zend_API.c index aa300fc1e2..efedc85f5d 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -2890,7 +2890,7 @@ ZEND_API zend_bool zend_is_callable_ex(zval *callable, uint check_flags, zval *c { zend_class_entry *ce = NULL; zval **method; - zval **obj; + zval **obj = NULL; if (zend_hash_num_elements(Z_ARRVAL_P(callable)) == 2 && zend_hash_index_find(Z_ARRVAL_P(callable), 0, (void **) &obj) == SUCCESS &&