zlib: remove redundant rb_obj_reveal
No need to reveal strings freshly created with rb_str_new. * ext/zlib/zlib.c (zstream_detach_input): remove redundant call git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6c721bd44f
commit
e93600334e
@ -882,7 +882,6 @@ zstream_detach_input(struct zstream *z)
|
|||||||
rb_obj_reveal(dst, rb_cString);
|
rb_obj_reveal(dst, rb_cString);
|
||||||
}
|
}
|
||||||
z->input = Qnil;
|
z->input = Qnil;
|
||||||
rb_obj_reveal(dst, rb_cString);
|
|
||||||
return dst;
|
return dst;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user