1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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"
unless fails.empty?
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}:"
if e
d << " " << e
if err
d << " " << err
end
mf.puts %Q<\t@echo "#{d}">
end