Skip to content

Commit 2044e5a

Browse files
committed
Fix uninitialized variable compile error
1 parent 24cc402 commit 2044e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ext/zend_test/test.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ static ZEND_FUNCTION(zend_get_map_ptr_last)
535535

536536
static ZEND_FUNCTION(zend_test_crash)
537537
{
538-
zend_string *message;
538+
zend_string *message = NULL;
539539

540540
ZEND_PARSE_PARAMETERS_START(0, 1)
541541
Z_PARAM_OPTIONAL

0 commit comments

Comments
 (0)