diff options
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r-- | ext/zlib/zlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 7e4baee889..b5e016eebb 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -679,7 +679,7 @@ zstream_end(z) if (RTEST(ruby_debug)) { rb_warning("attempt to close uninitialized zstream; ignored."); } - return; + return Qnil; } if (z->flags & ZSTREAM_FLAG_IN_STREAM) { if (RTEST(ruby_debug)) { |