From 147a09f86ea0e420789d4127f5c1498bde3a4686 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 29 Jan 2010 14:46:45 +0000 Subject: [PATCH] suppress a warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/mkmf/test_find_executable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mkmf/test_find_executable.rb b/test/mkmf/test_find_executable.rb index 6030a8e605..87e1d03c51 100644 --- a/test/mkmf/test_find_executable.rb +++ b/test/mkmf/test_find_executable.rb @@ -22,7 +22,7 @@ class TestMkmf exts.each do |ext| full = name+ext begin - open(full, "w") {|f| f.chmod(0755)} + open(full, "w") {|ff| ff.chmod(0755)} result = f.do_find_executable(name) ensure File.unlink(full)