ruby-changes:32778
From: naruse <ko1@a...>
Date: Thu, 6 Feb 2014 11:54:14 +0900 (JST)
Subject: [ruby-changes:32778] naruse:r44857 (trunk): suppress warnings: assigned but unused variable - es
naruse 2014-02-06 11:54:08 +0900 (Thu, 06 Feb 2014) New Revision: 44857 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44857 Log: suppress warnings: assigned but unused variable - es Modified files: trunk/test/drb/ut_array.rb trunk/test/drb/ut_array_drbssl.rb trunk/test/drb/ut_array_drbunix.rb trunk/test/drb/ut_drb_drbssl.rb trunk/test/drb/ut_drb_drbunix.rb trunk/test/drb/ut_eq.rb trunk/test/drb/ut_eval.rb trunk/test/drb/ut_large.rb trunk/test/drb/ut_port.rb trunk/test/drb/ut_safe1.rb Index: test/drb/ut_eq.rb =================================================================== --- test/drb/ut_eq.rb (revision 44856) +++ test/drb/ut_eq.rb (revision 44857) @@ -25,6 +25,6 @@ if __FILE__ == $0 https://github.com/ruby/ruby/blob/trunk/test/drb/ut_eq.rb#L25 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 Index: test/drb/ut_array_drbunix.rb =================================================================== --- test/drb/ut_array_drbunix.rb (revision 44856) +++ test/drb/ut_array_drbunix.rb (revision 44857) @@ -9,7 +9,7 @@ if __FILE__ == $0 https://github.com/ruby/ruby/blob/trunk/test/drb/ut_array_drbunix.rb#L9 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 Index: test/drb/ut_array.rb =================================================================== --- test/drb/ut_array.rb (revision 44856) +++ test/drb/ut_array.rb (revision 44857) @@ -9,7 +9,7 @@ if __FILE__ == $0 https://github.com/ruby/ruby/blob/trunk/test/drb/ut_array.rb#L9 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 Index: test/drb/ut_drb_drbssl.rb =================================================================== --- test/drb/ut_drb_drbssl.rb (revision 44856) +++ test/drb/ut_drb_drbssl.rb (revision 44857) @@ -30,7 +30,7 @@ AQjjxMXhwULlmuR/K+WwlaZPiLIBYalLAZQ7ZbOP https://github.com/ruby/ruby/blob/trunk/test/drb/ut_drb_drbssl.rb#L30 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 Index: test/drb/ut_port.rb =================================================================== --- test/drb/ut_port.rb (revision 44856) +++ test/drb/ut_port.rb (revision 44857) @@ -9,6 +9,6 @@ if __FILE__ == $0 https://github.com/ruby/ruby/blob/trunk/test/drb/ut_port.rb#L9 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 Index: test/drb/ut_array_drbssl.rb =================================================================== --- test/drb/ut_array_drbssl.rb (revision 44856) +++ test/drb/ut_array_drbssl.rb (revision 44857) @@ -29,7 +29,7 @@ AQjjxMXhwULlmuR/K+WwlaZPiLIBYalLAZQ7ZbOP https://github.com/ruby/ruby/blob/trunk/test/drb/ut_array_drbssl.rb#L29 [ ["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 Index: test/drb/ut_eval.rb =================================================================== --- test/drb/ut_eval.rb (revision 44856) +++ test/drb/ut_eval.rb (revision 44857) @@ -26,6 +26,6 @@ if __FILE__ == $0 https://github.com/ruby/ruby/blob/trunk/test/drb/ut_eval.rb#L26 $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 Index: test/drb/ut_large.rb =================================================================== --- test/drb/ut_large.rb (revision 44856) +++ test/drb/ut_large.rb (revision 44857) @@ -32,7 +32,7 @@ if __FILE__ == $0 https://github.com/ruby/ruby/blob/trunk/test/drb/ut_large.rb#L32 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 Index: test/drb/ut_safe1.rb =================================================================== --- test/drb/ut_safe1.rb (revision 44856) +++ test/drb/ut_safe1.rb (revision 44857) @@ -10,6 +10,6 @@ if __FILE__ == $0 https://github.com/ruby/ruby/blob/trunk/test/drb/ut_safe1.rb#L10 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 Index: test/drb/ut_drb_drbunix.rb =================================================================== --- test/drb/ut_drb_drbunix.rb (revision 44856) +++ test/drb/ut_drb_drbunix.rb (revision 44857) @@ -10,7 +10,7 @@ if __FILE__ == $0 https://github.com/ruby/ruby/blob/trunk/test/drb/ut_drb_drbunix.rb#L10 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/