diff options
| author | Jack Nagel | 2015-01-22 17:36:31 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-01-22 17:36:31 -0500 |
| commit | 0d72b0561c8aed555b950753b06b919af902f0ba (patch) | |
| tree | b05c647261dfe7a130f1002b664fbe9fec545d63 /Library/Homebrew | |
| parent | c51dee75971c2bb0e179a1fb1b8488869a4f0ce5 (diff) | |
| download | homebrew-0d72b0561c8aed555b950753b06b919af902f0ba.tar.bz2 | |
Remove unnecessary early return
Iterating over an empty list is a no-op so we can remove this early
return.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 91fae5fea..1236eaa2f 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -761,7 +761,6 @@ class Formula def prepare_patches active_spec.add_legacy_patches(patches) - return if patchlist.empty? patchlist.grep(DATAPatch) { |p| p.path = path } |
