Re: [PATCH 5/9] btrfs-progs: Fix Wimplicit-fallthrough warning

2018-11-16 Thread Qu Wenruo
On 2018/11/16 下午4:04, Nikolay Borisov wrote: > > > On 16.11.18 г. 9:54 ч., Qu Wenruo wrote: >> Although most fallthrough case is pretty obvious, we still need to teach >> the dumb compiler that it's an explicit fallthrough. >> >> Also reformat the code to use common indent. >> >>

Re: [PATCH 5/9] btrfs-progs: Fix Wimplicit-fallthrough warning

2018-11-16 Thread Nikolay Borisov
On 16.11.18 г. 9:54 ч., Qu Wenruo wrote: > Although most fallthrough case is pretty obvious, we still need to teach > the dumb compiler that it's an explicit fallthrough. > > Also reformat the code to use common indent. > > Signed-off-by: Qu Wenruo Reviewed-by: Nikolay Borisov Is this

[PATCH 5/9] btrfs-progs: Fix Wimplicit-fallthrough warning

2018-11-15 Thread Qu Wenruo
Although most fallthrough case is pretty obvious, we still need to teach the dumb compiler that it's an explicit fallthrough. Also reformat the code to use common indent. Signed-off-by: Qu Wenruo --- utils.c | 30 ++ 1 file changed, 22 insertions(+), 8 deletions(-)