tony2001 Wed, 02 Nov 2011 21:05:36 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=318705
Log: initialize variable and fix segfaulting tests Changed paths: U php/php-src/branches/PHP_5_4/Zend/zend_compile.c U php/php-src/trunk/Zend/zend_compile.c Modified: php/php-src/branches/PHP_5_4/Zend/zend_compile.c =================================================================== --- php/php-src/branches/PHP_5_4/Zend/zend_compile.c 2011-11-02 21:00:53 UTC (rev 318704) +++ php/php-src/branches/PHP_5_4/Zend/zend_compile.c 2011-11-02 21:05:36 UTC (rev 318705) @@ -3823,7 +3823,7 @@ { 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 */ Modified: php/php-src/trunk/Zend/zend_compile.c =================================================================== --- php/php-src/trunk/Zend/zend_compile.c 2011-11-02 21:00:53 UTC (rev 318704) +++ php/php-src/trunk/Zend/zend_compile.c 2011-11-02 21:05:36 UTC (rev 318705) @@ -3823,7 +3823,7 @@ { 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 */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php