diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2017-04-27 16:57:18 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2017-04-27 16:57:18 +0300 |
commit | 8449f750e62cd229026e9df3bd023ec7e073a7d4 (patch) | |
tree | 16bf5286016590ce10ee8d53ee65c149f266c8ee /src/core/ngx_murmurhash.c | |
parent | 8ae2bc932013b838b925cdbb0cae59f743e699c7 (diff) |
Added missing "fall through" comments (ticket #1259).
Found by gcc7 (-Wimplicit-fallthrough).
Diffstat (limited to 'src/core/ngx_murmurhash.c')
-rw-r--r-- | src/core/ngx_murmurhash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_murmurhash.c b/src/core/ngx_murmurhash.c index c31e0e035..5ade658dd 100644 --- a/src/core/ngx_murmurhash.c +++ b/src/core/ngx_murmurhash.c @@ -35,8 +35,10 @@ ngx_murmur_hash2(u_char *data, size_t len) switch (len) { case 3: h ^= data[2] << 16; + /* fall through */ case 2: h ^= data[1] << 8; + /* fall through */ case 1: h ^= data[0]; h *= 0x5bd1e995; |