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
commit123b88f8dbc26979c65a079e1746f18de3ad496d (patch)
tree9a28baa7562b793ef11585274ad77341ffa84423 /Library
parentd39678612f1ce6d8971e764a01680dd92bc62b48 (diff)
downloadhomebrew-123b88f8dbc26979c65a079e1746f18de3ad496d.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