mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enumerator.c (enumerator_with_index): removed suspicious return
statement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
801443f3ac
commit
8e1d0d7cc3
2 changed files with 21 additions and 18 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Mar 31 14:24:55 2006 nobuyoshi nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* enumerator.c (enumerator_with_index): removed suspicious return
|
||||||
|
statement.
|
||||||
|
|
||||||
Wed Mar 29 23:06:48 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
Wed Mar 29 23:06:48 2006 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
||||||
|
|
||||||
* ext/win32ole/win32ole.c (ole_invoke): change the behavior of
|
* ext/win32ole/win32ole.c (ole_invoke): change the behavior of
|
||||||
|
|
|
@ -355,8 +355,6 @@ enumerator_with_index(VALUE obj)
|
||||||
argc = RARRAY(e->args)->len;
|
argc = RARRAY(e->args)->len;
|
||||||
argv = RARRAY(e->args)->ptr;
|
argv = RARRAY(e->args)->ptr;
|
||||||
}
|
}
|
||||||
return rb_block_call(e->method, rb_intern("call"), argc, argv, e->iter, (VALUE)e);
|
|
||||||
|
|
||||||
return rb_block_call(e->method, rb_intern("call"), argc, argv,
|
return rb_block_call(e->method, rb_intern("call"), argc, argv,
|
||||||
enumerator_with_index_i, (VALUE)&memo);
|
enumerator_with_index_i, (VALUE)&memo);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue