aboutsummaryrefslogtreecommitdiff
path: root/src/lib/third_party
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2021-01-04 15:49:39 +0100
committerGitHub <noreply@github.com>2021-01-04 15:49:39 +0100
commit3aa16b63e834026003d57d5328adf2ec9a69a9b5 (patch)
treee0b32b908c16bcae8014a0b4a22c8d6a0f172869 /src/lib/third_party
parent23b84cd3ee91ece32c605f3eee77d598cea8b3d6 (diff)
Fix some warnings when compiling with "-W -Wall" flags (#1103)
Diffstat (limited to 'src/lib/third_party')
-rw-r--r--src/lib/third_party/src/hll/MurmurHash3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/third_party/src/hll/MurmurHash3.c b/src/lib/third_party/src/hll/MurmurHash3.c
index 47fb9da14..ba4d60680 100644
--- a/src/lib/third_party/src/hll/MurmurHash3.c
+++ b/src/lib/third_party/src/hll/MurmurHash3.c
@@ -39,8 +39,10 @@ u_int32_t MurmurHash3_x86_32(const void *key, u_int32_t len, u_int32_t seed) {
{
case 3:
k1 ^= (u_int32_t)tail[2] << 16;
+ /* fall-through */
case 2:
k1 ^= (u_int32_t)tail[1] << 8;
+ /* fall-through */
case 1:
k1 ^= tail[0];
k1 *= c1;