summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat_helpers.cpp
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-06-28 21:05:20 +0800
committerXinchen Hui <laruence@php.net>2014-06-28 21:05:20 +0800
commita1426c62d515f74125de3a6b6cffc2004c81ba5c (patch)
tree9ee94f196c32a1d3987abf781227c34e04a447af /ext/intl/msgformat/msgformat_helpers.cpp
parent5614467c6b055a8978aeef7ec4577cbf6c3c7cc8 (diff)
downloadphp-git-a1426c62d515f74125de3a6b6cffc2004c81ba5c.tar.gz
Fixed initialize of zval
Diffstat (limited to 'ext/intl/msgformat/msgformat_helpers.cpp')
-rw-r--r--ext/intl/msgformat/msgformat_helpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/msgformat/msgformat_helpers.cpp b/ext/intl/msgformat/msgformat_helpers.cpp
index ea1ea729a3..b0dd292843 100644
--- a/ext/intl/msgformat/msgformat_helpers.cpp
+++ b/ext/intl/msgformat/msgformat_helpers.cpp
@@ -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;