From: Antony Dovgal Date: Wed, 2 Nov 2011 21:05:36 +0000 (+0000) Subject: initialize variable and fix segfaulting tests X-Git-Tag: php-5.5.0alpha1~938 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bff7cbc87c82dd3980b59941b0386561ad57ea07;p=php initialize variable and fix segfaulting tests --- 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 */