diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-11-22 07:38:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-22 07:38:51 +0100 |
commit | 82a27ba8217d09e4fef4c9550f8b733d174c5705 (patch) | |
tree | 8d386722274ab24b7a564d868e4f59a1bb0ad8b1 /src/shared/machine-image.c | |
parent | b1b96380fed54e7df196f2f3de02786113a10e1d (diff) | |
parent | 97279d83807cf931090c32449ee97f3025bfec97 (diff) | |
download | systemd-82a27ba8217d09e4fef4c9550f8b733d174c5705.tar.gz |
Merge pull request #7389 from shawnl/warning
tree-wide: adjust fall through comments so that gcc is happy
Diffstat (limited to 'src/shared/machine-image.c')
-rw-r--r-- | src/shared/machine-image.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/shared/machine-image.c b/src/shared/machine-image.c index 2dff66d00a..7676a93e8b 100644 --- a/src/shared/machine-image.c +++ b/src/shared/machine-image.c @@ -523,8 +523,7 @@ int image_remove(Image *i) { if (path_startswith(i->path, "/dev")) break; - /* fallthrough */ - + _fallthrough_; case IMAGE_RAW: if (unlink(i->path) < 0) return -errno; @@ -609,8 +608,7 @@ int image_rename(Image *i, const char *new_name) { if (file_attr & FS_IMMUTABLE_FL) (void) chattr_path(i->path, 0, FS_IMMUTABLE_FL); - /* fall through */ - + _fallthrough_; case IMAGE_SUBVOLUME: new_path = file_in_same_dir(i->path, new_name); break; |