From: Gwynne Raskind Date: Sun, 7 Aug 2011 18:12:52 +0000 (+0000) Subject: possible use without init fixed X-Git-Tag: php-5.3.7RC5~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04b575f409eb305c12df4e447bed4c147d7237f1;p=php possible use without init fixed --- diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 26d7bb1ad5..f647c7e584 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -2378,7 +2378,7 @@ static void update_errors_warnings(timelib_error_container *last_errors TSRMLS_D PHPAPI int php_date_initialize(php_date_obj *dateobj, /*const*/ char *time_str, int time_str_len, char *format, zval *timezone_object, int ctor TSRMLS_DC) { timelib_time *now; - timelib_tzinfo *tzi; + timelib_tzinfo *tzi = NULL; timelib_error_container *err = NULL; int type = TIMELIB_ZONETYPE_ID, new_dst; char *new_abbr;