From e652ecfac71f0daf752e529dca6a9a0a444e26b3 Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 30 Jul 2012 06:03:15 +0000 Subject: [PATCH] Suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_process.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 1513cf4674..2eb4c56ec7 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -547,8 +547,8 @@ class TestProcess < Test::Unit::TestCase h = {} ios.length.times {|i| h[ios[i]] = ios[(i-1)%ios.length] } h2 = h.invert - rios = pipes.map {|r, w| r } - wios = pipes.map {|r, w| w } + _rios = pipes.map {|r, w| r } + wios = pipes.map {|r, w| w } child_wfds = wios.map {|w| h2[w].fileno } pid = spawn(RUBY, "-e", "[#{child_wfds.join(',')}].each {|fd| IO.new(fd, 'w').puts fd }", h) @@ -563,8 +563,8 @@ class TestProcess < Test::Unit::TestCase h = {} ios.length.times {|i| h[ios[i]] = ios[(i+1)%ios.length] } h2 = h.invert - rios = pipes.map {|r, w| r } - wios = pipes.map {|r, w| w } + _rios = pipes.map {|r, w| r } + wios = pipes.map {|r, w| w } child_wfds = wios.map {|w| h2[w].fileno } pid = spawn(RUBY, "-e", "[#{child_wfds.join(',')}].each {|fd| IO.new(fd, 'w').puts fd }", h)