projects
/
ceph.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18113a5
)
rocksdb-fallthrough-i386
author
Ceph Maintainers
<ceph-maintainers@lists.ceph.com>
Fri, 5 Apr 2019 13:12:52 +0000
(14:12 +0100)
committer
Bernd Zeimetz
<bzed@debian.org>
Fri, 5 Apr 2019 13:12:52 +0000
(14:12 +0100)
Gbp-Pq: Name rocksdb-fallthrough-i386.patch
src/rocksdb/util/murmurhash.cc
patch
|
blob
|
history
diff --git
a/src/rocksdb/util/murmurhash.cc
b/src/rocksdb/util/murmurhash.cc
index 3b4bd66c9d06c3d01953c90766fb4a0fb3a73639..127c1a34cdcbc96d15e22ee5b88ae4f21ef428a9 100644
(file)
--- 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;
};