From 0e6871db3fe7cac12661f53058d0dda609b772c6 Mon Sep 17 00:00:00 2001 From: Liao Pingfang Date: Tue, 14 Jul 2020 10:16:55 +0800 Subject: [PATCH] rgw: Remove superfluous breaks Remove superfuous breaks, as there is a 'return' before them. Signed-off-by: Liao Pingfang --- src/cls/rgw/cls_rgw_types.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cls/rgw/cls_rgw_types.h b/src/cls/rgw/cls_rgw_types.h index 2bc896b2c58..434feceeed3 100644 --- a/src/cls/rgw/cls_rgw_types.h +++ b/src/cls/rgw/cls_rgw_types.h @@ -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"; } -- 2.47.3