summaryrefslogtreecommitdiff
path: root/src/basic/siphash24.c
diff options
context:
space:
mode:
authorShawn Landden <slandden@gmail.com>2017-11-19 10:06:10 -0800
committerShawn Landden <slandden@gmail.com>2017-11-20 13:06:25 -0800
commit4831981d89c628606c825779c75afb03b4839618 (patch)
tree7e35cbb6e0f1fedb3e543dc14d9ac2553e8ed39e /src/basic/siphash24.c
parentd8bd96ab54ab60de5b12aa767eeea94a4cca685c (diff)
downloadsystemd-4831981d89c628606c825779c75afb03b4839618.tar.gz
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 4bb41786c8..d3a81b7cc1 100644
--- a/src/basic/siphash24.c
+++ b/src/basic/siphash24.c
@@ -127,25 +127,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;
}