MurmurHash: all /* fall through */ comments

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-01-31 19:35:04 -05:00
parent ae50101aab
commit 2c5248e245
+3 -3
View File
@@ -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;
};