mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c (rb_ary_take_while, rb_ary_drop_while): removed unused
variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
978943472e
commit
d1263ff544
1 changed files with 0 additions and 2 deletions
2
array.c
2
array.c
|
@ -3284,7 +3284,6 @@ rb_ary_take(VALUE obj, VALUE n)
|
|||
static VALUE
|
||||
rb_ary_take_while(VALUE ary)
|
||||
{
|
||||
VALUE result;
|
||||
long i;
|
||||
|
||||
RETURN_ENUMERATOR(ary, 0, 0);
|
||||
|
@ -3336,7 +3335,6 @@ rb_ary_drop(VALUE ary, VALUE n)
|
|||
static VALUE
|
||||
rb_ary_drop_while(VALUE ary)
|
||||
{
|
||||
VALUE result;
|
||||
long i;
|
||||
|
||||
RETURN_ENUMERATOR(ary, 0, 0);
|
||||
|
|
Loading…
Reference in a new issue