]> granicus.if.org Git - php/commitdiff
- Fix build
authorFelipe Pena <felipe@php.net>
Tue, 27 Oct 2009 16:21:03 +0000 (16:21 +0000)
committerFelipe Pena <felipe@php.net>
Tue, 27 Oct 2009 16:21:03 +0000 (16:21 +0000)
ext/date/php_date.c

index d76929f5a11901151c35187c1933405ee9c831b7..60f8f05ac8581ee521ae4a6b7accb89dcf401e03 100644 (file)
@@ -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;
 }