From: Felipe Pena Date: Tue, 27 Oct 2009 16:21:03 +0000 (+0000) Subject: - Fix build X-Git-Tag: php-5.2.12RC1~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b6dce6a622d0e3c5b7ac0d6e963509d10da2041;p=php - Fix build --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index d76929f5a1..60f8f05ac8 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -371,7 +371,6 @@ PHP_RINIT_FUNCTION(date) } DATEG(timezone) = NULL; DATEG(tzcache) = NULL; - DATEG(last_errors) = NULL; return SUCCESS; } @@ -389,10 +388,6 @@ PHP_RSHUTDOWN_FUNCTION(date) FREE_HASHTABLE(DATEG(tzcache)); DATEG(tzcache) = NULL; } - if (DATEG(last_errors)) { - timelib_error_container_dtor(DATEG(last_errors)); - DATEG(last_errors) = NULL; - } return SUCCESS; }