Message ID | 20190617075936.12113-4-wqu@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs-progs: GCC9 fixes | expand |
Even though this is a simple fix, the warning should be here and the versio that triggered it. On Mon, Jun 17, 2019 at 03:59:35PM +0800, Qu Wenruo wrote: > Signed-off-by: Qu Wenruo <wqu@suse.com> > --- > utils.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/utils.c b/utils.c > index 0b271517551b..2709ced97f97 100644 > --- a/utils.c > +++ b/utils.c > @@ -1928,7 +1928,6 @@ int test_num_disk_vs_raid(u64 metadata_profile, u64 data_profile, > __attribute__ ((fallthrough)); > case 1: > allowed |= BTRFS_BLOCK_GROUP_DUP; > - __attribute__ ((fallthrough)); > } > > if (dev_cnt > 1 && profile & BTRFS_BLOCK_GROUP_DUP) { > -- > 2.22.0
diff --git a/utils.c b/utils.c index 0b271517551b..2709ced97f97 100644 --- a/utils.c +++ b/utils.c @@ -1928,7 +1928,6 @@ int test_num_disk_vs_raid(u64 metadata_profile, u64 data_profile, __attribute__ ((fallthrough)); case 1: allowed |= BTRFS_BLOCK_GROUP_DUP; - __attribute__ ((fallthrough)); } if (dev_cnt > 1 && profile & BTRFS_BLOCK_GROUP_DUP) {
Signed-off-by: Qu Wenruo <wqu@suse.com> --- utils.c | 1 - 1 file changed, 1 deletion(-)