From cb9f7f675f75ad57f6a126a632c5ad06097c3f7d Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Thu, 8 May 2008 15:39:35 +0000 Subject: [PATCH] - Fix valgrind report (Conditional jump or move depends on uninitialised value) --- Zend/zend_API.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 && -- 2.50.1