summaryrefslogtreecommitdiff
path: root/src/libelogind/sd-id128
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/libelogind/sd-id128
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/libelogind/sd-id128')
-rw-r--r--src/libelogind/sd-id128/id128-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libelogind/sd-id128/id128-util.c b/src/libelogind/sd-id128/id128-util.c
index 2edb8df66..9fcbc7146 100644
--- a/src/libelogind/sd-id128/id128-util.c
+++ b/src/libelogind/sd-id128/id128-util.c
@@ -116,7 +116,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;
@@ -128,7 +128,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;