extmk.rb: suppress a warning

* ext/extmk.rb: get rid of shadowing outer local variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-08-07 10:05:57 +00:00
parent 78728b89df
commit 489456e999

View File

@ -773,10 +773,10 @@ if $configure_only and $command_output
mf.puts "\n""note:\n" mf.puts "\n""note:\n"
unless fails.empty? unless fails.empty?
mf.puts %Q<\t@echo "*** Following extensions failed to configure:"> mf.puts %Q<\t@echo "*** Following extensions failed to configure:">
fails.each do |d, n, e| fails.each do |d, n, err|
d = "#{d}:#{n}:" d = "#{d}:#{n}:"
if e if err
d << " " << e d << " " << err
end end
mf.puts %Q<\t@echo "#{d}"> mf.puts %Q<\t@echo "#{d}">
end end