diff options
author | Gwynne Raskind <gwynne@php.net> | 2011-08-07 18:12:52 +0000 |
---|---|---|
committer | Gwynne Raskind <gwynne@php.net> | 2011-08-07 18:12:52 +0000 |
commit | 265367e81605ffc36bc61817fc46a2c564441613 (patch) | |
tree | d3ab96a2f272f90617528d54b5394b272137ac9b | |
parent | 3ed828a89227b003abb437dc22347807ea6934c1 (diff) | |
download | php-git-265367e81605ffc36bc61817fc46a2c564441613.tar.gz |
possible use without init fixed
-rw-r--r-- | ext/date/php_date.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 24a44b9110..c9a8465592 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -2373,7 +2373,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; |