1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove extra semicolon

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2018-08-20 15:33:59 +00:00
parent d6bfef79a2
commit 023537f883
2 changed files with 2 additions and 2 deletions

View file

@ -2283,7 +2283,7 @@ lazy_drop_while(VALUE obj)
static int
lazy_uniq_check(VALUE chain, VALUE memos, long memo_index)
{
VALUE hash = rb_ary_entry(memos, memo_index);;
VALUE hash = rb_ary_entry(memos, memo_index);
if (NIL_P(hash)) {
hash = rb_obj_hide(rb_hash_new());

View file

@ -251,7 +251,7 @@ range_each_func(VALUE range, int (*func)(VALUE, VALUE), VALUE arg)
}
else {
while ((c = r_less(v, e)) <= 0) {
if ((*func)(v, arg)) break;;
if ((*func)(v, arg)) break;
if (!c) break;
v = rb_funcallv(v, id_succ, 0, 0);
}