From: Danny Al-Gaaf Date: Mon, 4 May 2015 23:18:31 +0000 (+0200) Subject: mon/OSDMonitor.cc: suppress false positive MISSING_BREAK X-Git-Tag: v9.0.2~68^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=71df303a905986431bb5acd0b97cedfe0a0aafef;p=ceph.git 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 --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 0fb63cfb6893..56564a2aff45 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;