Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/ceph/36375de76fb2b5a43d33154d0754551b1f71544f.patch
blob: 2d32720d28d2ad3c63acef205ba749155c580478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/rocksdb/util/murmurhash.cc b/src/rocksdb/util/murmurhash.cc
index 334ed898ea..4d71d58908 100644
--- a/src/rocksdb/util/murmurhash.cc
+++ b/src/rocksdb/util/murmurhash.cc
@@ -113,8 +113,8 @@ unsigned int MurmurHash2 ( const void * key, int len, unsigned int seed )
 
     switch(len)
     {
-    case 3: h ^= data[2] << 16;
-    case 2: h ^= data[1] << 8;
+    case 3: h ^= data[2] << 16; // fallthrough
+    case 2: h ^= data[1] << 8; // fallthrough
     case 1: h ^= data[0];
         h *= m;
     };