summaryrefslogtreecommitdiff
path: root/stadtx_hash.h
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2017-10-22 07:48:43 -0400
committerJames E Keenan <jkeenan@cpan.org>2017-10-22 08:16:48 -0400
commit6437ba61910f3853c77f9237646973ac2b6d12fa (patch)
tree6a4c4c8e9fc6673ee2dec61fb3e27c1fb8a70a89 /stadtx_hash.h
parentb2733f8fd5234aa49bd611d261687384342103e7 (diff)
downloadperl-6437ba61910f3853c77f9237646973ac2b6d12fa.tar.gz
Remove superfluous FALLTHROUGH guards.
Per code review by mauke++ on #p5p.
Diffstat (limited to 'stadtx_hash.h')
-rw-r--r--stadtx_hash.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/stadtx_hash.h b/stadtx_hash.h
index 3b5dfb6a34..c755018d63 100644
--- a/stadtx_hash.h
+++ b/stadtx_hash.h
@@ -223,12 +223,10 @@ STADTX_STATIC_INLINE U64 stadtx_hash_with_state(
/* FALLTHROUGH */
case 4: v1 += (U64)U8TO32_LE(key);
break;
- /* FALLTHROUGH */
case 3: v0 += (U64)key[2] << 48;
/* FALLTHROUGH */
case 2: v1 += (U64)U8TO16_LE(key);
break;
- /* FALLTHROUGH */
case 1: v0 += (U64)key[0];
/* FALLTHROUGH */
case 0: v1 = ROTL64(v1, 32) ^ 0xFF;
@@ -278,22 +276,18 @@ STADTX_STATIC_INLINE U64 stadtx_hash_with_state(
case 6: v2 += (U64)U8TO16_LE(key+4);
v3 += (U64)U8TO32_LE(key);
break;
- /* FALLTHROUGH */
case 5: v1 += (U64)key[4];
/* FALLTHROUGH */
case 4: v2 += (U64)U8TO32_LE(key);
break;
- /* FALLTHROUGH */
case 3: v3 += (U64)key[2];
/* FALLTHROUGH */
case 2: v1 += (U64)U8TO16_LE(key);
break;
- /* FALLTHROUGH */
case 1: v2 += (U64)key[0];
/* FALLTHROUGH */
case 0: v3 = ROTL64(v3, 32) ^ 0xFF;
break;
- /* FALLTHROUGH */
}
v1 -= v2;