X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=crc%2Fmurmur3.c;h=08660bc8cb4a7e4b4308e8e6ce905eb6015448b3;hp=e316f592ceb7fad41f3a0f43d0aa4e0347190d53;hb=HEAD;hpb=f83ffd0288ddb6de8e5d1631ae619fd385e6d400 diff --git a/crc/murmur3.c b/crc/murmur3.c index e316f592..08660bc8 100644 --- 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; + fio_fallthrough; case 2: k1 ^= tail[1] << 8; + fio_fallthrough; case 1: k1 ^= tail[0]; k1 *= c1;