From e93600334e4f8a9d259cc5868c9b58e71d808f39 Mon Sep 17 00:00:00 2001 From: normal Date: Fri, 5 Jan 2018 10:30:40 +0000 Subject: 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 --- ext/zlib/zlib.c | 1 - 1 file changed, 1 deletion(-) (limited to 'ext/zlib/zlib.c') diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 4cae484937..7906e0fba3 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -882,7 +882,6 @@ zstream_detach_input(struct zstream *z) rb_obj_reveal(dst, rb_cString); } z->input = Qnil; - rb_obj_reveal(dst, rb_cString); return dst; } -- cgit v1.2.3