]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor.cc: suppress false positive MISSING_BREAK
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 4 May 2015 23:18:31 +0000 (01:18 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 1 Jun 2015 04:59:26 +0000 (06:59 +0200)
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 <danny.al-gaaf@bisect.de>
src/mon/OSDMonitor.cc

index 0fb63cfb6893a21b01bf805dbc556e52dbe0d311..56564a2aff45cf9126cd8ec6c586b3761276eea5 100644 (file)
@@ -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;