summaryrefslogtreecommitdiff
path: root/lib/rinda
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-08 20:59:01 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-08 20:59:01 +0000
commitf3e35474078895e1d178e15cfbfc6743f9ffc62d (patch)
treea3fd49329f497133415a7ec11592b5c693459608 /lib/rinda
parentcceca83afe046b8c2b53eab6ab7c52faa1719b6d (diff)
downloadruby-f3e35474078895e1d178e15cfbfc6743f9ffc62d.tar.gz
* lib/*.rb: Remove unused variable warnings.
Patch by Run Paint [ruby-core:30991] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rinda')
-rw-r--r--lib/rinda/ring.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rinda/ring.rb b/lib/rinda/ring.rb
index b25fd99856..3b59b43aaf 100644
--- a/lib/rinda/ring.rb
+++ b/lib/rinda/ring.rb
@@ -198,7 +198,7 @@ module Rinda
def lookup_ring_any(timeout=5)
queue = Queue.new
- th = Thread.new do
+ Thread.new do
self.lookup_ring(timeout) do |ts|
queue.push(ts)
end
@@ -252,7 +252,7 @@ if __FILE__ == $0
when 's'
require 'rinda/tuplespace'
ts = Rinda::TupleSpace.new
- place = Rinda::RingServer.new(ts)
+ Rinda::RingServer.new(ts)
$stdin.gets
when 'w'
finger = Rinda::RingFinger.new(nil)