Re: [PATCH] Smack: Mark expected switch fall-through

2018-08-01 Thread Casey Schaufler
On 8/1/2018 3:38 PM, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Notice that in this particular case, I replaced "No break" with a > proper "Fall through" annotation, which is what GCC is expecting >

[PATCH] Smack: Mark expected switch fall-through

2018-08-01 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Notice that in this particular case, I replaced "No break" with a proper "Fall through" annotation, which is what GCC is expecting to find. Warning level 2 was used: -Wimplicit-fallthrough