From 71df303a905986431bb5acd0b97cedfe0a0aafef Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Tue, 5 May 2015 01:18:31 +0200 Subject: [PATCH] mon/OSDMonitor.cc: suppress false positive MISSING_BREAK Suppress coverity issue: CID 1193085 (#1 of 1): Missing break in switch (MISSING_BREAK) unterminated_case: This case (value -114) is not terminated by a 'break' statement. Signed-off-by: Danny Al-Gaaf --- src/mon/OSDMonitor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 0fb63cfb6893a..56564a2aff45c 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -4211,6 +4211,7 @@ int OSDMonitor::prepare_pool_crush_ruleset(const unsigned pool_type, case -EALREADY: dout(20) << "prepare_pool_crush_ruleset: ruleset " << ruleset_name << " try again" << dendl; + // fall through case 0: // need to wait for the crush rule to be proposed before proceeding err = -EAGAIN; -- 2.39.5