From 8d520d62961cd4d474db8cba7a2e615c78dfb17c Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 2 Nov 2011 21:05:36 +0000 Subject: [PATCH] initialize variable and fix segfaulting tests --- Zend/zend_compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index ea75088dd3..aa32e71d45 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -3823,7 +3823,7 @@ static int zend_traits_merge_functions_to_class(zend_function *fn TSRMLS_DC, int { zend_class_entry *ce = va_arg(args, zend_class_entry*); int add = 0; - zend_function* existing_fn; + zend_function* existing_fn = NULL; zend_function fn_copy, *fn_copy_p; zend_function* prototype = NULL; /* is used to determine the prototype according to the inheritance chain */ -- 2.50.1