]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: Remove superfluous breaks
authorLiao Pingfang <liao.pingfang@zte.com.cn>
Tue, 14 Jul 2020 02:16:55 +0000 (10:16 +0800)
committerLiao Pingfang <liao.pingfang@zte.com.cn>
Tue, 14 Jul 2020 02:16:55 +0000 (10:16 +0800)
Remove superfuous breaks, as there is a 'return' before them.

Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn>
src/cls/rgw/cls_rgw_types.h

index 2bc896b2c5872ff2ea5f8d2d7ae6bf4c6958b6bb..434feceeed3701edb8506c5bbe111c7f09f72ec5 100644 (file)
@@ -729,13 +729,10 @@ inline std::string to_string(const cls_rgw_reshard_status status)
   switch (status) {
   case cls_rgw_reshard_status::NOT_RESHARDING:
     return "not-resharding";
-    break;
   case cls_rgw_reshard_status::IN_PROGRESS:
     return "in-progress";
-    break;
   case cls_rgw_reshard_status::DONE:
     return "done";
-    break;
   };
   return "Unknown reshard status";
 }