diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-15 01:29:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-15 01:29:37 +0000 |
commit | 4592e15e3500e7de8d6d00cfb66af53971735c59 (patch) | |
tree | 17f579983777662bd2b0a8fbc1c018164113a086 /ext/-test-/popen_deadlock | |
parent | bb8abf62d3cb783b6b8ffeffb67c5ff519332c20 (diff) | |
download | ruby-4592e15e3500e7de8d6d00cfb66af53971735c59.tar.gz |
string.c: remove redundant calls
* string.c (rb_str_enumerate_bytes, rb_str_enumerate_codepoints):
do not check if a block is given twice. RETURN_SIZED_ENUMERATOR
includes rb_block_given_p() check which is redundant here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/popen_deadlock')
0 files changed, 0 insertions, 0 deletions