From: Dmitry Stogov Date: Thu, 7 Dec 2017 19:34:38 +0000 (+0300) Subject: Removed useless separations X-Git-Tag: php-7.3.0alpha1~855 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=583050eda31d6ef0fa52e1e534fffbe8973c7120;p=php Removed useless separations --- diff --git a/ext/intl/timezone/timezone_methods.cpp b/ext/intl/timezone/timezone_methods.cpp index 20c0e02480..d1cf6f58f2 100644 --- a/ext/intl/timezone/timezone_methods.cpp +++ b/ext/intl/timezone/timezone_methods.cpp @@ -178,13 +178,11 @@ double_offset: convert_to_string_ex(arg); switch (is_numeric_string(Z_STRVAL_P(arg), Z_STRLEN_P(arg), &lval, &dval, 0)) { case IS_DOUBLE: - SEPARATE_ZVAL(arg); - zval_dtor(arg); + zval_ptr_dtor(arg); ZVAL_DOUBLE(arg, dval); goto double_offset; case IS_LONG: - SEPARATE_ZVAL(arg); - zval_dtor(arg); + zval_ptr_dtor(arg); ZVAL_LONG(arg, lval); goto int_offset; }