From 9614d22b5d6dcb4e0ee6fe12bad0c1021230cacf Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 27 Aug 2010 06:23:56 +0000 Subject: [PATCH] * 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 --- array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/array.c b/array.c index 8a828c506c..026079b445 100644 --- a/array.c +++ b/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)];