diff options
author | 2013-03-08 13:16:35 +0000 | |
---|---|---|
committer | 2013-03-08 13:16:35 +0000 | |
commit | e7700c978b2436b3b007f33738eff3fe2ae368ce (patch) | |
tree | d2a192f48203e3c463f8dce6194b62312d4843b7 | |
parent | 26c5ed12c5067a5d83437197379f65dfc4a06fcc (diff) | |
download | paludis-e7700c978b2436b3b007f33738eff3fe2ae368ce.tar.gz paludis-e7700c978b2436b3b007f33738eff3fe2ae368ce.tar.xz |
Silence warnings
-rw-r--r-- | paludis/user_dep_spec.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/paludis/user_dep_spec.cc b/paludis/user_dep_spec.cc index 322db4ee9..245023ce1 100644 --- a/paludis/user_dep_spec.cc +++ b/paludis/user_dep_spec.cc @@ -1,7 +1,7 @@ /* vim: set sw=4 sts=4 et foldmethod=syntax : */ /* - * Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Ciaran McCreesh + * Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Ciaran McCreesh * * This file is part of the Paludis package manager. Paludis is free software; * you can redistribute it and/or modify it under the terms of the GNU General @@ -1113,6 +1113,8 @@ UserKeyRequirement::as_human_string(const std::shared_ptr<const PackageID> &) co return "Key " + key_str + " is greater than '" + _imp->value + "'"; case ukro_exists: return "Key " + key_str + " exists"; + case last_ukro: + break; } throw InternalError(PALUDIS_HERE, "unknown op"); @@ -1134,6 +1136,8 @@ UserKeyRequirement::as_raw_string() const return "[." + _imp->key + ">" + _imp->value + "]"; case ukro_exists: return "[." + _imp->key + "?" + _imp->value + "]"; + case last_ukro: + break; } throw InternalError(PALUDIS_HERE, "unknown op"); |