aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-02-11 21:02:28 -0600
committerJack Nagel2013-02-11 21:06:03 -0600
commita63fa4356a9901f6c141811cbfdeb132b19e201d (patch)
tree256c02b141a577139953d11bc37318b5272d81d6 /Library
parent248891fde17ec66751b460dfc2137ba9fb819395 (diff)
downloadbrew-a63fa4356a9901f6c141811cbfdeb132b19e201d.tar.bz2
Remove dead code
This code only existed to support very old formula syntax, which was otherwise removed in e6b97bebd99779b52462dcd387191d804fc95b93.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index c007ac6c0..b068436ee 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -698,11 +698,7 @@ private
@build ||= BuildOptions.new(ARGV.options_only)
end
- def url val=nil, specs={}
- if val.nil?
- return @stable.url if @stable
- return @url if @url
- end
+ def url val, specs={}
@stable ||= SoftwareSpec.new
@stable.url(val, specs)
end