mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/zlib] Removed no longer used variables
https://github.com/ruby/zlib/commit/3e98e4cac3
This commit is contained in:
parent
0aaa15f636
commit
63f70eb651
1 changed files with 1 additions and 2 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue