projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'evelu-qsort' of https://github.com/ErwanAliasr1/fio
[fio.git]
/
crc
/
murmur3.c
diff --git
a/crc/murmur3.c
b/crc/murmur3.c
index e316f592ceb7fad41f3a0f43d0aa4e0347190d53..ba408a9e80c8df60f8a9466cb862024cdad69135 100644
(file)
--- a/
crc/murmur3.c
+++ b/
crc/murmur3.c
@@
-1,4
+1,5
@@
#include "murmur3.h"
+#include "../compiler/compiler.h"
static inline uint32_t rotl32(uint32_t x, int8_t r)
{
@@
-29,8
+30,10
@@
static uint32_t murmur3_tail(const uint8_t *data, const int nblocks,
switch (len & 3) {
case 3:
k1 ^= tail[2] << 16;
+ fallthrough;
case 2:
k1 ^= tail[1] << 8;
+ fallthrough;
case 1:
k1 ^= tail[0];
k1 *= c1;