aboutsummaryrefslogtreecommitdiff
path: root/paludis
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-07 08:24:35 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-07 08:27:21 -0800
commit8f321d9a3dd1701fcec489362bbc74f37e102fb4 (patch)
tree8b5e2b50488835ee63ddd469ed908951d2dbcf9f /paludis
parent125505665ee54446936227a2bef0f11cdaf6b336 (diff)
downloadpaludis-8f321d9a3dd1701fcec489362bbc74f37e102fb4.tar.gz
paludis-8f321d9a3dd1701fcec489362bbc74f37e102fb4.tar.xz
paludis: avoid return after else (NFC)
Diffstat (limited to 'paludis')
-rw-r--r--paludis/broken_linkage_finder.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/broken_linkage_finder.cc b/paludis/broken_linkage_finder.cc
index b39746f62..601281bb1 100644
--- a/paludis/broken_linkage_finder.cc
+++ b/paludis/broken_linkage_finder.cc
@@ -370,8 +370,8 @@ BrokenLinkageFinder::begin_broken_files(const std::shared_ptr<const PackageID> &
return BrokenFileConstIterator(first_iterator(it->second.begin()));
}
- else
- return BrokenFileConstIterator(first_iterator(_imp->orphan_breakage.begin()));
+
+ return BrokenFileConstIterator(first_iterator(_imp->orphan_breakage.begin()));
}
BrokenLinkageFinder::BrokenFileConstIterator
@@ -385,8 +385,8 @@ BrokenLinkageFinder::end_broken_files(const std::shared_ptr<const PackageID> & p
return BrokenFileConstIterator(first_iterator(it->second.end()));
}
- else
- return BrokenFileConstIterator(first_iterator(_imp->orphan_breakage.end()));
+
+ return BrokenFileConstIterator(first_iterator(_imp->orphan_breakage.end()));
}
BrokenLinkageFinder::MissingRequirementConstIterator