string.c: remove redundant calls
* string.c (rb_str_enumerate_lines): do not check if a block is given twice. RETURN_ENUMERATOR includes rb_block_given_p() check which is redundant here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
db2fe4b8ef
commit
ffd76ff3b5
Loading…
x
Reference in New Issue
Block a user