aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-26 17:14:25 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-26 17:14:25 +0000
commit1dd122bb663a7a5d4ca62a9a51989aee0812c51a (patch)
tree4342cf3c83d5da0928c6a7a661325a48670aa8e9
parent98c87d68874da79170161f44dbdae852a202847e (diff)
downloadpaludis-1dd122bb663a7a5d4ca62a9a51989aee0812c51a.tar.gz
paludis-1dd122bb663a7a5d4ca62a9a51989aee0812c51a.tar.xz
Remove some dead code
-rw-r--r--src/contrarius/install.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/contrarius/install.cc b/src/contrarius/install.cc
index c916ceb..c86b4b7 100644
--- a/src/contrarius/install.cc
+++ b/src/contrarius/install.cc
@@ -174,23 +174,6 @@ namespace
cerr << "Exiting with failure" << endl;
exit(EXIT_FAILURE);
}
-
- DepListDepsOption
- enum_arg_to_dep_list_deps_option(const args::EnumArg & arg)
- {
- if (arg.argument() == "pre")
- return dl_deps_pre;
- else if (arg.argument() == "pre-or-post")
- return dl_deps_pre_or_post;
- else if (arg.argument() == "post")
- return dl_deps_post;
- else if (arg.argument() == "try-post")
- return dl_deps_try_post;
- else if (arg.argument() == "discard")
- return dl_deps_discard;
- else
- throw DoHelp("bad value for --" + arg.long_name());
- }
}
int