Skip to content

Commit 06de112

Browse files
committed
Merge branch 'PHP-8.1'
* PHP-8.1: Initialize int_codepoint in parse_code_point_param()
2 parents 1c381a7 + 40e0bdb commit 06de112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/intl/uchar/uchar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static inline int convert_cp(UChar32* pcp, zend_string *string_codepoint, zend_l
3838

3939
static zend_never_inline int parse_code_point_param(INTERNAL_FUNCTION_PARAMETERS, UChar32 *cp) {
4040
zend_string *string_codepoint;
41-
zend_long int_codepoint;
41+
zend_long int_codepoint = 0;
4242
ZEND_PARSE_PARAMETERS_START(1, 1)
4343
Z_PARAM_STR_OR_LONG(string_codepoint, int_codepoint)
4444
ZEND_PARSE_PARAMETERS_END_EX(return FAILURE);

0 commit comments

Comments
 (0)