diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-30 09:50:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-30 09:50:32 +0000 |
commit | ed0aa14fcc1b2629cb385bc34e9a69c9a43a9fc5 (patch) | |
tree | bfabd80bb71691058a07d2cbe6e889f846423710 /ext | |
parent | 578deb65b090f0c1486f901ea2d00bb456f7f4c5 (diff) | |
download | ruby-ed0aa14fcc1b2629cb385bc34e9a69c9a43a9fc5.tar.gz |
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
Diffstat (limited to 'ext')
-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 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) |