]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: Remove superfluous breaks 36082/head
authorLiao Pingfang <liao.pingfang@zte.com.cn>
Tue, 14 Jul 2020 01:52:23 +0000 (09:52 +0800)
committerLiao Pingfang <liao.pingfang@zte.com.cn>
Tue, 14 Jul 2020 01:54:31 +0000 (09:54 +0800)
Remove superfuous breaks, as there is a 'return' before them.

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

index d9673f158d18b5a88ec1f1f0e97961230d18956b..d95239bcf9f541c22be039e68845eefdce1bbcd8 100644 (file)
@@ -53,13 +53,10 @@ namespace rgw {
       switch (type) {
       case TOKEN_AD:
        return "ad";
-       break;
       case TOKEN_LDAP:
        return "ldap";
-       break;
       case TOKEN_KEYSTONE:
        return "keystone";
-       break;
       default:
        return "none";
       };