diff options
author | Shin'ichiro Kawasaki <kawasaki@juno.dti.ne.jp> | 2019-08-14 10:59:17 +0900 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2020-11-05 16:32:07 -0800 |
commit | 5449d1b1ee763e8ae1057fb7d18f7fbccb7a6fe0 (patch) | |
tree | b4eb9644ac186d238d07a39bf7fb87d8cea596fc /libparted/fs/amiga/amiga.c | |
parent | d51921b05c32287238b1b0447d7e952884f63eb5 (diff) | |
download | parted-5449d1b1ee763e8ae1057fb7d18f7fbccb7a6fe0.tar.gz |
libparted: Fix warnings from GCC's -Wimplicit-fallthrough
Two case statements have intentional fall-throughs but do not have
comments to note it. GCC detects and warns those case statements. To
avoid the warning, add fall-through comments.
Signed-off-by: Shin'ichiro Kawasaki <kawasaki@juno.dti.ne.jp>
Signed-off-by: Brian C. Lane <bcl@redhat.com>
Diffstat (limited to 'libparted/fs/amiga/amiga.c')
-rw-r--r-- | libparted/fs/amiga/amiga.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libparted/fs/amiga/amiga.c b/libparted/fs/amiga/amiga.c index be10dae..eb63f24 100644 --- a/libparted/fs/amiga/amiga.c +++ b/libparted/fs/amiga/amiga.c @@ -217,6 +217,7 @@ _amiga_read_block (PedDevice *dev, struct AmigaBlock *blk, PedSector block, stru return NULL; } } + /* FALLTHROUGH */ case PED_EXCEPTION_IGNORE : case PED_EXCEPTION_UNHANDLED : default : |