From 32d3f688ec3490035daba780a1e03f1310a3c43e Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 6 Jan 2005 11:31:40 +0000 Subject: * ext/zlib/zlib.c (zstream_end): should return value. (backported from CVS HEAD) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/zlib/zlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/zlib') 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)) { -- cgit v1.2.3