Skip to content

Commit a008094

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Initialize calendar_long variable
2 parents 59a8007 + 5e34744 commit a008094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/intl/dateformat/dateformat_create.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static zend_result datefmt_ctor(INTERNAL_FUNCTION_PARAMETERS)
5454
zend_long date_type = 0;
5555
zend_long time_type = 0;
5656
zend_object *calendar_obj = NULL;
57-
zend_long calendar_long;
57+
zend_long calendar_long = 0;
5858
zend_bool calendar_is_null = 1;
5959
Calendar *cal = NULL;
6060
zend_long calendar_type;

0 commit comments

Comments
 (0)