diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-14 19:14:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-14 19:14:29 +0000 |
commit | ae65eeb6045fa668d1f451ac9943b87cefe7b872 (patch) | |
tree | 6accec53054626baad9e77e5781239ef5db03ca8 | |
parent | 2e3d072d9da80937bf3b5a1e2bd52db21dee7114 (diff) | |
download | ruby-ae65eeb6045fa668d1f451ac9943b87cefe7b872.tar.gz |
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.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ruby/allpairs.rb b/test/ruby/allpairs.rb index 6cb2729b19..27b6f5988f 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 } |