]> granicus.if.org Git - php/commitdiff
fix warning
authorWez Furlong <wez@php.net>
Mon, 18 Mar 2002 11:49:40 +0000 (11:49 +0000)
committerWez Furlong <wez@php.net>
Mon, 18 Mar 2002 11:49:40 +0000 (11:49 +0000)
ext/zlib/zlib_fopen_wrapper.c

index c28ab6a1e5afe32a96e36c6305f5adc977ff5140..a3853074d62c72936f23df4bde82ff05584180da 100644 (file)
@@ -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);