diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-05 10:30:40 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-05 10:30:40 +0000 |
commit | e93600334e4f8a9d259cc5868c9b58e71d808f39 (patch) | |
tree | 6ed24793648027bd1de38ac40607dece877070bc /ext/zlib/zlib.c | |
parent | 6c721bd44f0d6818c2df361485ebdc49c75ca913 (diff) |
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
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r-- | ext/zlib/zlib.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |