summaryrefslogtreecommitdiff
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
commit489456e9996a4004825bb968cb956097b955fa9d (patch)
tree3e81e69607b866e1eb44e53f7a07e7825c69cd33
parent78728b89dfa768b169e6d1caa7319b7e0980e988 (diff)
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
-rwxr-xr-xext/extmk.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index e9f5eb5..97604cf 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