Re: [PATCH] ASN.1: mark expected switch fall-throughs

2019-01-25 Thread Gustavo A. R. Silva
On 1/25/19 6:38 PM, Kees Cook wrote: > On Sat, Jan 26, 2019 at 9:49 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/asn1_decoder.c:386:6

Re: [PATCH] ASN.1: mark expected switch fall-throughs

2019-01-25 Thread Kees Cook
On Sat, Jan 26, 2019 at 9:49 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/asn1_decoder.c:386:6: warning: this statement may fall through > [-Wim

[PATCH] ASN.1: mark expected switch fall-throughs

2019-01-25 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. This patch fixes the following warnings: lib/asn1_decoder.c:386:6: warning: this statement may fall through [-Wimplicit-fallthrough=] lib/asn1_decoder.c:449:6: warning: this statement may