mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fixed initialize of zval
This commit is contained in:
parent
5614467c6b
commit
a1426c62d5
2 changed files with 2 additions and 2 deletions
|
@ -344,7 +344,7 @@ static void umsg_set_timezone(MessageFormatter_object *mfo,
|
|||
|
||||
if (used_tz == NULL) {
|
||||
zval nullzv, *zvptr = &nullzv;
|
||||
ZVAL_UNDEF(zvptr);
|
||||
ZVAL_NULL(zvptr);
|
||||
used_tz = timezone_process_timezone_argument(zvptr, &err, "msgfmt_format" TSRMLS_CC);
|
||||
if (used_tz == NULL) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue