summaryrefslogtreecommitdiff
path: root/src/basic/siphash24.c
diff options
context:
space:
mode:
authorShawn Landden <slandden@gmail.com>2017-11-19 10:06:10 -0800
committerSven Eden <yamakuzure@gmx.net>2017-11-19 10:06:10 -0800
commit7bfd0375e4573bbd65deb08511c7cd4a4ffa275c (patch)
tree8726af7bef705d732034afeab0c62c4e24218a83 /src/basic/siphash24.c
parent4f8c80e3fb7eaf0d67648bdd8e586925d3bf5d1d (diff)
tree-wide: adjust fall through comments so that gcc is happy
Distcc removes comments, making the comment silencing not work. I know there was a decision against a macro in commit ec251fe7d5bc24b5d38b0853bc5969f3a0ba06e2
Diffstat (limited to 'src/basic/siphash24.c')
-rw-r--r--src/basic/siphash24.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/basic/siphash24.c b/src/basic/siphash24.c
index 69794b680..fe1413469 100644
--- a/src/basic/siphash24.c
+++ b/src/basic/siphash24.c
@@ -133,25 +133,25 @@ void siphash24_compress(const void *_in, size_t inlen, struct siphash *state) {
switch (left) {
case 7:
state->padding |= ((uint64_t) in[6]) << 48;
- /* fall through */
+ _fallthrough_;
case 6:
state->padding |= ((uint64_t) in[5]) << 40;
- /* fall through */
+ _fallthrough_;
case 5:
state->padding |= ((uint64_t) in[4]) << 32;
- /* fall through */
+ _fallthrough_;
case 4:
state->padding |= ((uint64_t) in[3]) << 24;
- /* fall through */
+ _fallthrough_;
case 3:
state->padding |= ((uint64_t) in[2]) << 16;
- /* fall through */
+ _fallthrough_;
case 2:
state->padding |= ((uint64_t) in[1]) << 8;
- /* fall through */
+ _fallthrough_;
case 1:
state->padding |= ((uint64_t) in[0]);
- /* fall through */
+ _fallthrough_;
case 0:
break;
}