mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c (rb_ary_sample): removed unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e52469a43d
commit
9614d22b5d
1 changed files with 1 additions and 1 deletions
2
array.c
2
array.c
|
@ -3823,7 +3823,7 @@ static VALUE
|
|||
rb_ary_sample(int argc, VALUE *argv, VALUE ary)
|
||||
{
|
||||
VALUE nv, result, *ptr;
|
||||
VALUE opts, snap, randgen = rb_cRandom;
|
||||
VALUE opts, randgen = rb_cRandom;
|
||||
long n, len, i, j, k, idx[10];
|
||||
double rnds[numberof(idx)];
|
||||
|
||||
|
|
Loading…
Reference in a new issue