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
commit7f29c760b935b0b19157eb73e15e90682e959762 (patch)
tree5eec95519dbd2178f4a6dcded5c3de4b78a072a1 /Library
parent760b1752021e326e3f353da7964f1aeac63d8158 (diff)
downloadhomebrew-7f29c760b935b0b19157eb73e15e90682e959762.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