aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-10-29 00:48:28 -0500
committerJack Nagel2014-10-29 00:52:23 -0500
commit6545e6dad3081baac176e1519206b2b9de7ff233 (patch)
tree30064b7bb44391923f13b9e3c3aa6c855323a3a3 /Library
parentf90e303fb9ab79ba2dcda03984cc72f021f998fe (diff)
downloadbrew-6545e6dad3081baac176e1519206b2b9de7ff233.tar.bz2
Remove unreachable branch
Requirements meeting this condition are skipped by the first branch on the caller side: https://github.com/Homebrew/homebrew/blob/6c54de812f00658404501719d315202a5551cc1b/Library/Homebrew/formula_installer.rb
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 16bec5fab..ae0787c52 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -237,7 +237,6 @@ class FormulaInstaller
def install_requirement_default_formula?(req, dependent, build)
return false unless req.default_formula?
- return false if build.without?(req) && (req.recommended? || req.optional?)
return true unless req.satisfied?
install_bottle_for?(dependent, build) || build_bottle?
end