summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-06 17:23:54 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:43:59 +0000
commite15c663c0a348700aa80c45eb86b636ad19298ff (patch)
treeb0ca2c94822ef2dd477c2d6f9806874ef7471a5d /src/lib/eina
parentea6edad4fba3b68d2cf07863c2528690ac55017e (diff)
eina inline hash - fix warn about switch case fallthrough
fallthrough is intended so add fallthrough markers to silence warning
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_inline_hash.x3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/eina/eina_inline_hash.x b/src/lib/eina/eina_inline_hash.x
index 114b584eee..da983d83c9 100644
--- a/src/lib/eina/eina_inline_hash.x
+++ b/src/lib/eina/eina_inline_hash.x
@@ -140,14 +140,17 @@ eina_hash_murmur3(const char *key, int len)
140 { 140 {
141 case 3: 141 case 3:
142 k1 ^= tail[2] << 16; 142 k1 ^= tail[2] << 16;
143 EINA_FALLTHROUGH;
143 case 2: 144 case 2:
144 k1 ^= tail[1] << 8; 145 k1 ^= tail[1] << 8;
146 EINA_FALLTHROUGH;
145 case 1: 147 case 1:
146 k1 ^= tail[0]; 148 k1 ^= tail[0];
147 k1 *= c1; 149 k1 *= c1;
148 k1 = _rotl32(k1, 16); 150 k1 = _rotl32(k1, 16);
149 k1 *= c2; 151 k1 *= c2;
150 h1 ^= k1; 152 h1 ^= k1;
153 EINA_FALLTHROUGH;
151 default: 154 default:
152 break; 155 break;
153 } 156 }