Skip to content

Commit 27f43f0

Browse files
committed
temp: set zval empty string
1 parent a2fedcc commit 27f43f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/mbstring/mbstring.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2974,6 +2974,7 @@ static zend_string* trim_each_wchar(zend_string *str, zend_string *what, MB_TRIM
29742974

29752975
HashTable what_ht;
29762976
zval val;
2977+
ZVAL_EMPTY_STRING(&val);
29772978
zend_hash_init(&what_ht, what_len, NULL, NULL, false);
29782979

29792980
while (what_len) {

0 commit comments

Comments
 (0)