summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-06 02:54:08 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-06 02:54:08 +0000
commit71a0162235e2252f89ab8d91e9058ca066417663 (patch)
tree9e362f53e6c1c8c92f8ac0e5b14c608056f87e13 /test
parent78b1ca9f0f9f3f2ecc65342158af5e71b6fb8139 (diff)
suppress warnings: assigned but unused variable - es
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/drb/ut_array.rb2
-rw-r--r--test/drb/ut_array_drbssl.rb2
-rw-r--r--test/drb/ut_array_drbunix.rb2
-rw-r--r--test/drb/ut_drb_drbssl.rb2
-rw-r--r--test/drb/ut_drb_drbunix.rb2
-rw-r--r--test/drb/ut_eq.rb2
-rw-r--r--test/drb/ut_eval.rb2
-rw-r--r--test/drb/ut_large.rb2
-rw-r--r--test/drb/ut_port.rb2
-rw-r--r--test/drb/ut_safe1.rb2
10 files changed, 10 insertions, 10 deletions
diff --git a/test/drb/ut_array.rb b/test/drb/ut_array.rb
index 8ff001dd9f8..e9b0f1a2fac 100644
--- a/test/drb/ut_array.rb
+++ b/test/drb/ut_array.rb
@@ -9,7 +9,7 @@ if __FILE__ == $0
end
DRb.start_service('druby://localhost:0', [1, 2, 'III', 4, "five", 6])
- es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
+ DRb::ExtServ.new(ARGV.shift, ARGV.shift)
DRb.thread.join
end
diff --git a/test/drb/ut_array_drbssl.rb b/test/drb/ut_array_drbssl.rb
index 8ece677c543..5ec30614e2d 100644
--- a/test/drb/ut_array_drbssl.rb
+++ b/test/drb/ut_array_drbssl.rb
@@ -29,7 +29,7 @@ AQjjxMXhwULlmuR/K+WwlaZPiLIBYalLAZQ7ZbOPeVkJ8ePao0eLAgEC
[ ["C","JP"], ["O","Foo.DRuby.Org"], ["CN", "Sample"] ]
DRb.start_service('drbssl://localhost:0', [1, 2, 'III', 4, "five", 6], config)
- es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
+ DRb::ExtServ.new(ARGV.shift, ARGV.shift)
DRb.thread.join
end
diff --git a/test/drb/ut_array_drbunix.rb b/test/drb/ut_array_drbunix.rb
index 76d2a610afc..114a79854de 100644
--- a/test/drb/ut_array_drbunix.rb
+++ b/test/drb/ut_array_drbunix.rb
@@ -9,7 +9,7 @@ if __FILE__ == $0
end
DRb.start_service('drbunix:', [1, 2, 'III', 4, "five", 6])
- es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
+ DRb::ExtServ.new(ARGV.shift, ARGV.shift)
DRb.thread.join
end
diff --git a/test/drb/ut_drb_drbssl.rb b/test/drb/ut_drb_drbssl.rb
index c3a3eb075d2..098cb898124 100644
--- a/test/drb/ut_drb_drbssl.rb
+++ b/test/drb/ut_drb_drbssl.rb
@@ -30,7 +30,7 @@ AQjjxMXhwULlmuR/K+WwlaZPiLIBYalLAZQ7ZbOPeVkJ8ePao0eLAgEC
DRb::DRbServer.default_argc_limit(8)
DRb::DRbServer.default_load_limit(4096)
DRb.start_service('drbssl://localhost:0', DRbEx.new, config)
- es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
+ DRb::ExtServ.new(ARGV.shift, ARGV.shift)
DRb.thread.join
end
diff --git a/test/drb/ut_drb_drbunix.rb b/test/drb/ut_drb_drbunix.rb
index 8b9484cf9ca..0e54a6a41ca 100644
--- a/test/drb/ut_drb_drbunix.rb
+++ b/test/drb/ut_drb_drbunix.rb
@@ -10,7 +10,7 @@ if __FILE__ == $0
DRb::DRbServer.default_argc_limit(8)
DRb::DRbServer.default_load_limit(4096)
DRb.start_service('drbunix:', DRbEx.new)
- es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
+ DRb::ExtServ.new(ARGV.shift, ARGV.shift)
DRb.thread.join
end
diff --git a/test/drb/ut_eq.rb b/test/drb/ut_eq.rb
index 0f68ac16491..db822db01ea 100644
--- a/test/drb/ut_eq.rb
+++ b/test/drb/ut_eq.rb
@@ -25,6 +25,6 @@ if __FILE__ == $0
end
DRb.start_service('druby://localhost:0', Bar.new)
- es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
+ DRb::ExtServ.new(ARGV.shift, ARGV.shift)
DRb.thread.join
end
diff --git a/test/drb/ut_eval.rb b/test/drb/ut_eval.rb
index 4df963e7cdf..8129f90897c 100644
--- a/test/drb/ut_eval.rb
+++ b/test/drb/ut_eval.rb
@@ -26,6 +26,6 @@ if __FILE__ == $0
$SAFE = 1
DRb.start_service('druby://localhost:0', EvalAttack.new, {:safe_level => 2})
- es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
+ DRb::ExtServ.new(ARGV.shift, ARGV.shift)
DRb.thread.join
end
diff --git a/test/drb/ut_large.rb b/test/drb/ut_large.rb
index 9545f78f4b4..a8994bc44e4 100644
--- a/test/drb/ut_large.rb
+++ b/test/drb/ut_large.rb
@@ -32,7 +32,7 @@ if __FILE__ == $0
DRb::DRbServer.default_argc_limit(3)
DRb::DRbServer.default_load_limit(100000)
DRb.start_service('druby://localhost:0', DRbLarge.new)
- es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
+ DRb::ExtServ.new(ARGV.shift, ARGV.shift)
DRb.thread.join
end
diff --git a/test/drb/ut_port.rb b/test/drb/ut_port.rb
index 337e0eda862..029960c5f86 100644
--- a/test/drb/ut_port.rb
+++ b/test/drb/ut_port.rb
@@ -9,6 +9,6 @@ if __FILE__ == $0
end
DRb.start_service('druby://:8473', [1, 2, 'III', 4, "five", 6])
- es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
+ DRb::ExtServ.new(ARGV.shift, ARGV.shift)
DRb.thread.join
end
diff --git a/test/drb/ut_safe1.rb b/test/drb/ut_safe1.rb
index 97b4df24aba..5caea2900e7 100644
--- a/test/drb/ut_safe1.rb
+++ b/test/drb/ut_safe1.rb
@@ -10,6 +10,6 @@ if __FILE__ == $0
DRb.start_service('druby://localhost:0', [1, 2, 'III', 4, "five", 6],
{:safe_level => 1})
- es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
+ DRb::ExtServ.new(ARGV.shift, ARGV.shift)
DRb.thread.join
end