From ed0aa14fcc1b2629cb385bc34e9a69c9a43a9fc5 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 30 Nov 2012 09:50:32 +0000 Subject: zlib.c: suppress warning * ext/zlib/zlib.c (zstream_run): suppress unused-but-set-variable warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/zlib/zlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 9aa7697697..6b6299c0d0 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -1086,7 +1086,7 @@ loop: if (z->stream.avail_in > 0) { zstream_append_input(z, z->stream.next_in, z->stream.avail_in); - guard = Qnil; /* prevent tail call to make guard effective */ + RB_GC_GUARD(guard) = Qnil; /* prevent tail call to make guard effective */ } if (args.jump_state) -- cgit v1.2.3