From 1b0f55311631ed8a7264b2026510e7d49c3d0317 Mon Sep 17 00:00:00 2001 From: Michael Andres Date: Tue, 26 Apr 2011 12:46:29 +0200 Subject: [PATCH] make g++ happy --- src/update.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/update.cc b/src/update.cc index d2fb417..0b87892 100755 --- a/src/update.cc +++ b/src/update.cc @@ -83,12 +83,16 @@ inline const char *const patchStatusAsString( const PoolItem & pi_r ) { switch ( pi_r.status().validate() ) { - case zypp::ResStatus::UNDETERMINED: return "undetermined"; break; case zypp::ResStatus::BROKEN: return pi_r.isUnwanted() ? "unwanted" : "needed"; break; case zypp::ResStatus::SATISFIED: return "applied"; break; case zypp::ResStatus::NONRELEVANT: return "not-needed"; break; + + case zypp::ResStatus::UNDETERMINED: // fall through + default: + break; } + return "undetermined"; } // returns true if restartSuggested() patches are availble -- 2.7.4