summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-14 19:14:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-14 19:14:29 +0000
commitae65eeb6045fa668d1f451ac9943b87cefe7b872 (patch)
tree6accec53054626baad9e77e5781239ef5db03ca8
parent2e3d072d9da80937bf3b5a1e2bd52db21dee7114 (diff)
allpairs.rb: remove unused variable
* test/ruby/allpairs.rb (AllPairs#each_index): remove unused variable, prime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/ruby/allpairs.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ruby/allpairs.rb b/test/ruby/allpairs.rb
index 6cb2729..27b6f59 100644
--- a/test/ruby/allpairs.rb
+++ b/test/ruby/allpairs.rb
@@ -66,7 +66,6 @@ module AllPairs
def each_index(*vs)
n = vs.length
max_v = vs.max
- prime = make_prime(max_v)
h = {}
make_large_block(max_v, n) {|row|
row = vs.zip(row).map {|v, i| i % v }