summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib_fopen_wrapper.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-03-18 11:49:40 +0000
committerWez Furlong <wez@php.net>2002-03-18 11:49:40 +0000
commit5fb9f9c1341ba81c1f5180961ef596c33774b275 (patch)
tree39d8918a1702a201ed68edfec623a3252858e760 /ext/zlib/zlib_fopen_wrapper.c
parent966784bcdebc1046c66e0296a45d3cb4cc8a25f6 (diff)
downloadphp-git-5fb9f9c1341ba81c1f5180961ef596c33774b275.tar.gz
fix warning
Diffstat (limited to 'ext/zlib/zlib_fopen_wrapper.c')
-rw-r--r--ext/zlib/zlib_fopen_wrapper.c2
1 files changed, 1 insertions, 1 deletions
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);