aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-12-02 00:15:32 -0600
committerJack Nagel2013-12-02 00:16:48 -0600
commit98f25e4407d5013d623f0f0adf07ad937ef82ff3 (patch)
treefb6af1d29389e5e778fe5a573e4d5c2f7a0fb93a /Library
parent4d8e023b7f74bf499c98b2149bec9b57b98dcd52 (diff)
downloadbrew-98f25e4407d5013d623f0f0adf07ad937ef82ff3.tar.bz2
Yielded value is not used
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV/shared.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb
index 01a7caafd..a828d391f 100644
--- a/Library/Homebrew/extend/ENV/shared.rb
+++ b/Library/Homebrew/extend/ENV/shared.rb
@@ -105,9 +105,7 @@ module SharedEnvExtension
:clang
elsif self['HOMEBREW_CC']
cc = COMPLER_ALIASES.fetch(self['HOMEBREW_CC'], self['HOMEBREW_CC'])
- COMPILER_SYMBOL_MAP.fetch(cc) do |invalid|
- MacOS.default_compiler
- end
+ COMPILER_SYMBOL_MAP.fetch(cc) { MacOS.default_compiler }
else
MacOS.default_compiler
end