summaryrefslogtreecommitdiff
path: root/ext/intl/timezone
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2012-05-25 11:55:50 +0200
committerGustavo André dos Santos Lopes <cataphract@php.net>2012-05-25 13:29:19 +0200
commita1e97bada8894549af030b645d10d39222dfb9c6 (patch)
tree1c18edea24ef604d2c1bc4cc521834e129cce58b /ext/intl/timezone
parentc8d8d2442e49750115cab10bd38988b7355baa54 (diff)
downloadphp-git-a1e97bada8894549af030b645d10d39222dfb9c6.tar.gz
Fixed problem in IntlCalendar debug handler
*is_temp was not being set. Also deleted a redundant assignment to *is_temp in IntlTimeZone.
Diffstat (limited to 'ext/intl/timezone')
-rw-r--r--ext/intl/timezone/timezone_class.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/intl/timezone/timezone_class.cpp b/ext/intl/timezone/timezone_class.cpp
index a1a9866eed..4034838f97 100644
--- a/ext/intl/timezone/timezone_class.cpp
+++ b/ext/intl/timezone/timezone_class.cpp
@@ -395,8 +395,6 @@ static HashTable *TimeZone_get_debug_info(zval *object, int *is_temp TSRMLS_DC)
add_assoc_long_ex(&zv, "currentOffset", sizeof("currentOffset"),
(long)(rawOffset + dstOffset));
- *is_temp = 1;
-
return Z_ARRVAL(zv);
}
/* }}} */