Skip to content

Commit 6c22598

Browse files
author
tony2001
committed
initialize variable and fix segfaulting tests
git-svn-id: http://svn.php.net/repository/php/php-src/trunk@318705 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent f3d4aa3 commit 6c22598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3823,7 +3823,7 @@ static int zend_traits_merge_functions_to_class(zend_function *fn TSRMLS_DC, int
38233823
{
38243824
zend_class_entry *ce = va_arg(args, zend_class_entry*);
38253825
int add = 0;
3826-
zend_function* existing_fn;
3826+
zend_function* existing_fn = NULL;
38273827
zend_function fn_copy, *fn_copy_p;
38283828
zend_function* prototype = NULL; /* is used to determine the prototype according to the inheritance chain */
38293829

0 commit comments

Comments
 (0)