Skip to content

Commit 3e98e4c

Browse files
committed
Removed no longer used variables
1 parent 310be39 commit 3e98e4c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/zlib/zlib.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,6 @@ zstream_expand_buffer(struct zstream *z)
628628
long buf_filled = ZSTREAM_BUF_FILLED(z);
629629
if (buf_filled >= ZSTREAM_AVAIL_OUT_STEP_MAX) {
630630
int state = 0;
631-
VALUE self = (VALUE)z->stream.opaque;
632631

633632
rb_obj_reveal(z->buf, rb_cString);
634633

@@ -738,7 +737,7 @@ zstream_append_buffer(struct zstream *z, const Bytef *src, long len)
738737
static VALUE
739738
zstream_detach_buffer(struct zstream *z)
740739
{
741-
VALUE dst, self = (VALUE)z->stream.opaque;
740+
VALUE dst;
742741

743742
if (!ZSTREAM_IS_FINISHED(z) && !ZSTREAM_IS_GZFILE(z) &&
744743
rb_block_given_p()) {

0 commit comments

Comments
 (0)