aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-26 17:19:59 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-26 17:19:59 +0000
commitbd2cb7c9702dddf4178900d5c4ba6d6989983dce (patch)
tree2f0803e112d3b96a63d7bfa7e21ddd9d5145a074
parent7b22845083092eba29ceef98d51634cc8594bc74 (diff)
downloadpaludis-bd2cb7c9702dddf4178900d5c4ba6d6989983dce.tar.gz
paludis-bd2cb7c9702dddf4178900d5c4ba6d6989983dce.tar.xz
Remove dead code
-rw-r--r--paludis/repositories/portage/portage_repository_sets.cc15
1 files changed, 1 insertions, 14 deletions
diff --git a/paludis/repositories/portage/portage_repository_sets.cc b/paludis/repositories/portage/portage_repository_sets.cc
index fd673e9..ba9c2f3 100644
--- a/paludis/repositories/portage/portage_repository_sets.cc
+++ b/paludis/repositories/portage/portage_repository_sets.cc
@@ -175,26 +175,13 @@ PortageRepositorySets::sets_list() const
+ stringify(e.what()) + ")");
}
}
- catch (const paludis::DirOpenError & e)
+ catch (const paludis::DirOpenError &)
{
}
return result;
}
-namespace
-{
- inline
- PackageDepAtom::Pointer make_atom(const PackageDatabaseEntry & e)
- {
- QualifiedPackageName n(e.name);
- VersionSpec v(e.version);
-
- std::string s("=" + stringify(n) + "-" + stringify(v));
- return PackageDepAtom::Pointer(new PackageDepAtom(s));
- }
-}
-
PackageDatabaseEntryCollection::Iterator
PortageRepositorySets::find_best(PackageDatabaseEntryCollection & c, const PackageDatabaseEntry & e) const
{