Skip to content

Commit 1fac13b

Browse files
committed
fix missing initializer warning
1 parent 9bec3bb commit 1fac13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/intl/locale/locale_methods.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ static int handleAppendResult( int result, smart_str* loc_name)
940940
* }}} */
941941
U_CFUNC PHP_FUNCTION(locale_compose)
942942
{
943-
smart_str loc_name_s = {0};
943+
smart_str loc_name_s = {NULL, 0};
944944
smart_str *loc_name = &loc_name_s;
945945
zval* arr = NULL;
946946
HashTable* hash_arr = NULL;

0 commit comments

Comments
 (0)