diff options
author | Xinchen Hui <laruence@php.net> | 2014-06-28 21:05:20 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2014-06-28 21:05:20 +0800 |
commit | a1426c62d515f74125de3a6b6cffc2004c81ba5c (patch) | |
tree | 9ee94f196c32a1d3987abf781227c34e04a447af /ext/intl/timezone | |
parent | 5614467c6b055a8978aeef7ec4577cbf6c3c7cc8 (diff) | |
download | php-git-a1426c62d515f74125de3a6b6cffc2004c81ba5c.tar.gz |
Fixed initialize of zval
Diffstat (limited to 'ext/intl/timezone')
-rw-r--r-- | ext/intl/timezone/timezone_class.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/timezone/timezone_class.cpp b/ext/intl/timezone/timezone_class.cpp index a1996d9293..703e4d4814 100644 --- a/ext/intl/timezone/timezone_class.cpp +++ b/ext/intl/timezone/timezone_class.cpp @@ -141,7 +141,7 @@ U_CFUNC TimeZone *timezone_process_timezone_argument(zval *zv_timezone, ZVAL_STRING(&local_zv_tz, tzinfo->name); zv_timezone = &local_zv_tz; } else { - ZVAL_UNDEF(&local_zv_tz); + ZVAL_NULL(&local_zv_tz); } if (Z_TYPE_P(zv_timezone) == IS_OBJECT && |