forked from enlightenment/efl
eina inline hash - fix warn about switch case fallthrough
fallthrough is intended so add fallthrough markers to silence warning
This commit is contained in:
parent
ea6edad4fb
commit
e15c663c0a
|
@ -140,14 +140,17 @@ eina_hash_murmur3(const char *key, int len)
|
||||||
{
|
{
|
||||||
case 3:
|
case 3:
|
||||||
k1 ^= tail[2] << 16;
|
k1 ^= tail[2] << 16;
|
||||||
|
EINA_FALLTHROUGH;
|
||||||
case 2:
|
case 2:
|
||||||
k1 ^= tail[1] << 8;
|
k1 ^= tail[1] << 8;
|
||||||
|
EINA_FALLTHROUGH;
|
||||||
case 1:
|
case 1:
|
||||||
k1 ^= tail[0];
|
k1 ^= tail[0];
|
||||||
k1 *= c1;
|
k1 *= c1;
|
||||||
k1 = _rotl32(k1, 16);
|
k1 = _rotl32(k1, 16);
|
||||||
k1 *= c2;
|
k1 *= c2;
|
||||||
h1 ^= k1;
|
h1 ^= k1;
|
||||||
|
EINA_FALLTHROUGH;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue