aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-07 10:05:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-07 10:05:57 +0000
commit7242eb7330c74291babaa50fc73ae9572e6cd8d4 (patch)
tree3e81e69607b866e1eb44e53f7a07e7825c69cd33 /ext
parent2195bac60008e824925144ca27aaa176989c14a1 (diff)
downloadruby-7242eb7330c74291babaa50fc73ae9572e6cd8d4.tar.gz
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
Diffstat (limited to 'ext')
-rwxr-xr-xext/extmk.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index e9f5eb5280..97604cf965 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -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