From 63f70eb65160a53443ec76365e78a80948b54824 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 31 Oct 2019 22:21:11 +0900 Subject: [ruby/zlib] Removed no longer used variables https://github.com/ruby/zlib/commit/3e98e4cac3 --- ext/zlib/zlib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/zlib/zlib.c') diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index a7d0bc1136..2d938199b3 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -628,7 +628,6 @@ zstream_expand_buffer(struct zstream *z) long buf_filled = ZSTREAM_BUF_FILLED(z); if (buf_filled >= ZSTREAM_AVAIL_OUT_STEP_MAX) { int state = 0; - VALUE self = (VALUE)z->stream.opaque; rb_obj_reveal(z->buf, rb_cString); @@ -738,7 +737,7 @@ zstream_append_buffer(struct zstream *z, const Bytef *src, long len) static VALUE zstream_detach_buffer(struct zstream *z) { - VALUE dst, self = (VALUE)z->stream.opaque; + VALUE dst; if (!ZSTREAM_IS_FINISHED(z) && !ZSTREAM_IS_GZFILE(z) && rb_block_given_p()) { -- cgit v1.2.3