Remove unreachable branch

Requirements meeting this condition are skipped by the first branch
on the caller side:

6c54de812f/Library/Homebrew/formula_installer.rb
This commit is contained in:
Jack Nagel 2014-10-29 00:48:28 -05:00
parent f90e303fb9
commit 6545e6dad3

View File

@ -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