aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-30 11:06:50 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-30 11:06:50 +0100
commita68e3fccf43a0762d65e5794af21ea4f2a1bc893 (patch)
treeec937813166e3d2894d804347a4cca34fab7b22b
parent0f26492f6a7e9ba1cfcec4ccaa3ca7ea31c44a41 (diff)
downloadpaludis-a68e3fccf43a0762d65e5794af21ea4f2a1bc893.tar.gz
paludis-a68e3fccf43a0762d65e5794af21ea4f2a1bc893.tar.xz
UnableToMakeDecision might cause deps
There can be deps because of an UnableToMakeDecision if the decision was changed without a restart.
-rw-r--r--src/clients/cave/resolve_common.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/clients/cave/resolve_common.cc b/src/clients/cave/resolve_common.cc
index 06a0c39..96dd5f1 100644
--- a/src/clients/cave/resolve_common.cc
+++ b/src/clients/cave/resolve_common.cc
@@ -798,9 +798,10 @@ namespace
throw InternalError(PALUDIS_HERE, "NothingNoChangeDecision shouldn't have deps");
}
- bool visit(const UnableToMakeDecision &) const PALUDIS_ATTRIBUTE((noreturn))
+ bool visit(const UnableToMakeDecision &) const
{
- throw InternalError(PALUDIS_HERE, "UnableToMakeDecision shouldn't have deps");
+ /* might've gone from a sensible decision to unable later on */
+ return false;
}
bool visit(const RemoveDecision &) const PALUDIS_ATTRIBUTE((noreturn))