summaryrefslogtreecommitdiff
path: root/src/basic/MurmurHash2.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-01-31 19:35:04 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-01-31 19:35:04 -0500
commit2c5248e2454da53dd7378d167324e917bbe99088 (patch)
tree48c7f7067f481a51429d695ebf096c7546e244db /src/basic/MurmurHash2.c
parentae50101aabf1c162cbab6d87062e3c6dc0a5f055 (diff)
MurmurHash: all /* fall through */ comments
Diffstat (limited to 'src/basic/MurmurHash2.c')
-rw-r--r--src/basic/MurmurHash2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/basic/MurmurHash2.c b/src/basic/MurmurHash2.c
index 9020793930..a282a21201 100644
--- a/src/basic/MurmurHash2.c
+++ b/src/basic/MurmurHash2.c
@@ -69,9 +69,9 @@ uint32_t MurmurHash2 ( const void * key, int len, uint32_t seed )
switch(len)
{
- case 3: h ^= data[2] << 16;
- case 2: h ^= data[1] << 8;
- case 1: h ^= data[0];
+ case 3: h ^= data[2] << 16; /* fall through */
+ case 2: h ^= data[1] << 8; /* fall through */
+ case 1: h ^= data[0]; /* fall through */
h *= m;
};