From 4bf480b7d5b45b6ba09d25fd35a3f20cea8cffdb Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 28 May 2014 22:59:07 +0000 Subject: [PATCH] Suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/socket/test_unix.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/socket/test_unix.rb b/test/socket/test_unix.rb index 5583cb6d9b..7e82e6cb97 100644 --- a/test/socket/test_unix.rb +++ b/test/socket/test_unix.rb @@ -67,7 +67,7 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase assert(recv_io_ary[i].close_on_exec?) } ensure - recv_io_ary.each {|io| io.close if !io.closed? } + recv_io_ary.each {|io2| io2.close if !io2.closed? } end } } @@ -108,7 +108,7 @@ class TestSocket_UNIXSocket < Test::Unit::TestCase assert(recv_io_ary[i].close_on_exec?) } ensure - recv_io_ary.each {|io| io.close if !io.closed? } + recv_io_ary.each {|io2| io2.close if !io2.closed? } end } }