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

suppress warning: shadowing outer local variable - e

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2017-03-07 05:19:00 +00:00
parent a3990118e6
commit a298301baa

View file

@ -723,8 +723,8 @@ begin
fails.each do |d, n, err|
d = "#{d}:#{n}:"
if err
err.scan(/.+/) do |e|
mf.puts %Q<\t@echo "#{d} #{e.gsub(/["`$^]/, '\\\\\\&')}">
err.scan(/.+/) do |ee|
mf.puts %Q<\t@echo "#{d} #{ee.gsub(/["`$^]/, '\\\\\\&')}">
end
else
mf.puts %Q<\t@echo "#{d}">