Skip to content

Commit bbce49d

Browse files
committed
fix missing initializer warning
1 parent d554e53 commit bbce49d

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
@@ -936,7 +936,7 @@ static int handleAppendResult( int result, smart_str* loc_name)
936936
* }}} */
937937
U_CFUNC PHP_FUNCTION(locale_compose)
938938
{
939-
smart_str loc_name_s = {0};
939+
smart_str loc_name_s = {NULL, 0};
940940
smart_str *loc_name = &loc_name_s;
941941
zval* arr = NULL;
942942
HashTable* hash_arr = NULL;

0 commit comments

Comments
 (0)