Re: [PATCH] lib/cmdline.c: mark expected switch fall-throughs

2019-01-25 Thread Gustavo A. R. Silva
On 1/25/19 6:18 PM, Kees Cook wrote: > On Sat, Jan 26, 2019 at 9:31 AM Gustavo A. R. Silva > wrote: >> >> In preparation to enabling -Wimplicit-fallthrough, mark switch >> cases where we are expecting to fall through. >> >> This patch fixes the following warnings: >> >> lib/cmdline.c:137:7: war

Re: [PATCH] lib/cmdline.c: mark expected switch fall-throughs

2019-01-25 Thread Kees Cook
On Sat, Jan 26, 2019 at 9:31 AM Gustavo A. R. Silva wrote: > > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. > > This patch fixes the following warnings: > > lib/cmdline.c:137:7: warning: this statement may fall through > [-Wimplici