summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-id128/id128-util.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/libsystemd/sd-id128/id128-util.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/libsystemd/sd-id128/id128-util.c')
-rw-r--r--src/libsystemd/sd-id128/id128-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-id128/id128-util.c b/src/libsystemd/sd-id128/id128-util.c
index 260a11dfc1..5541e8d47e 100644
--- a/src/libsystemd/sd-id128/id128-util.c
+++ b/src/libsystemd/sd-id128/id128-util.c
@@ -117,7 +117,7 @@ int id128_read_fd(int fd, Id128Format f, sd_id128_t *ret) {
if (buffer[32] != '\n')
return -EINVAL;
- /* fall through */
+ _fallthrough_;
case 32: /* plain UUID without trailing newline */
if (f == ID128_UUID)
return -EINVAL;
@@ -129,7 +129,7 @@ int id128_read_fd(int fd, Id128Format f, sd_id128_t *ret) {
if (buffer[36] != '\n')
return -EINVAL;
- /* fall through */
+ _fallthrough_;
case 36: /* RFC UUID without trailing newline */
if (f == ID128_PLAIN)
return -EINVAL;