diff options
author | Xinchen Hui <laruence@php.net> | 2014-06-28 12:20:35 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2014-06-28 12:20:35 +0800 |
commit | b6e9c76d67a8cfb397598ac354d9aeb9609ba1d2 (patch) | |
tree | 74a1e3cec4c687e7f07d4b3f3b7720fe7fa39158 /ext/intl/timezone/timezone_class.cpp | |
parent | 7614fe810eba7ce16f100c2c9e592922fd9e739c (diff) | |
download | php-git-b6e9c76d67a8cfb397598ac354d9aeb9609ba1d2.tar.gz |
Refactoring ext/intl (only compilerable now, far to finish :<)
Diffstat (limited to 'ext/intl/timezone/timezone_class.cpp')
-rw-r--r-- | ext/intl/timezone/timezone_class.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/intl/timezone/timezone_class.cpp b/ext/intl/timezone/timezone_class.cpp index 40d1c99289..a1996d9293 100644 --- a/ext/intl/timezone/timezone_class.cpp +++ b/ext/intl/timezone/timezone_class.cpp @@ -65,7 +65,7 @@ U_CFUNC zval *timezone_convert_to_datetimezone(const TimeZone *timeZone, UnicodeString id; char *message = NULL; php_timezone_obj *tzobj; - zval arg = zval_used_for_init; + zval arg; timeZone->getID(id); if (id.isBogus()) { @@ -132,7 +132,7 @@ U_CFUNC TimeZone *timezone_process_timezone_argument(zval *zv_timezone, intl_error *outside_error, const char *func TSRMLS_DC) { - zval local_zv_tz = zval_used_for_init; + zval local_zv_tz; char *message = NULL; TimeZone *timeZone; @@ -287,7 +287,7 @@ static int TimeZone_compare_objects(zval *object1, zval *object2 TSRMLS_DC) /* {{{ get_debug_info handler for TimeZone */ static HashTable *TimeZone_get_debug_info(zval *object, int *is_temp TSRMLS_DC) { - zval zv = zval_used_for_init; + zval zv; TimeZone_object *to; const TimeZone *tz; UnicodeString ustr; |