From: Wez Furlong Date: Mon, 18 Mar 2002 11:49:40 +0000 (+0000) Subject: fix warning X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~1269 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fb9f9c1341ba81c1f5180961ef596c33774b275;p=php fix warning --- diff --git a/ext/zlib/zlib_fopen_wrapper.c b/ext/zlib/zlib_fopen_wrapper.c index c28ab6a1e5..a3853074d6 100644 --- a/ext/zlib/zlib_fopen_wrapper.c +++ b/ext/zlib/zlib_fopen_wrapper.c @@ -63,7 +63,7 @@ static int php_gziop_seek(php_stream *stream, off_t offset, int whence) static int php_gziop_close(php_stream *stream, int close_handle) { struct php_gz_stream_data_t *self = (struct php_gz_stream_data_t *)stream->abstract; - int ret; + int ret = EOF; if (close_handle) ret = gzclose(self->gz_file);