Fixed problem in IntlCalendar debug handler

*is_temp was not being set.

Also deleted a redundant assignment to *is_temp in IntlTimeZone.
This commit is contained in:
Gustavo André dos Santos Lopes 2012-05-25 11:55:50 +02:00
parent c8d8d2442e
commit a1e97bada8
2 changed files with 2 additions and 4 deletions

View file

@ -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);
}
/* }}} */