aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/fix_locked_dependencies.cc
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-02-24 19:27:07 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-02-26 20:25:28 -0800
commit0ce8ee0e8a9109d043697b7e3402fe12d7ee7542 (patch)
tree103735899cbd6639157ee602359979ca85bebad0 /paludis/repositories/e/fix_locked_dependencies.cc
parent036c588e36df46dbd7a41b595747eccef3b44833 (diff)
downloadpaludis-0ce8ee0e8a9109d043697b7e3402fe12d7ee7542.tar.gz
paludis-0ce8ee0e8a9109d043697b7e3402fe12d7ee7542.tar.xz
perform some dead code elimintation
Excise some dead code identified by clang
Diffstat (limited to 'paludis/repositories/e/fix_locked_dependencies.cc')
-rw-r--r--paludis/repositories/e/fix_locked_dependencies.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/paludis/repositories/e/fix_locked_dependencies.cc b/paludis/repositories/e/fix_locked_dependencies.cc
index faeb2be3b..a825e2743 100644
--- a/paludis/repositories/e/fix_locked_dependencies.cc
+++ b/paludis/repositories/e/fix_locked_dependencies.cc
@@ -46,13 +46,6 @@ using namespace paludis::erepository;
namespace
{
- void cannot_add(const std::shared_ptr<const DependencySpecTree> &) PALUDIS_ATTRIBUTE((noreturn));
-
- void cannot_add(const std::shared_ptr<const DependencySpecTree> &)
- {
- throw InternalError(PALUDIS_HERE, "Got weird tree");
- }
-
struct SlotRewriter
{
const Environment * const env;