]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
blobhash.h: Remove extra fallthrough annotation 28270/head
authorThomas Johnson <NTmatter@gmail.com>
Tue, 28 May 2019 19:34:56 +0000 (21:34 +0200)
committerThomas Johnson <thomas.johnson@tbwa.com>
Wed, 29 May 2019 15:38:30 +0000 (17:38 +0200)
Remove the [[fallthrough]] annotation at the end of the switch statement
for Clang compatibility.

Fixes: https://tracker.ceph.com/issues/40052
Signed-off-by: Thomas Johnson <NTmatter@gmail.com>
src/include/blobhash.h

index 97f2065ce3a621d031b96f439f001e132804349d..303892b13251dedf43baf8ac77d2a2aab63cfe0b 100644 (file)
@@ -38,7 +38,6 @@ public:
       [[fallthrough]];
     case 1:
       acc ^= buf[0];
-      [[fallthrough]];
     }
     return H(acc);
   }