Re: [PATCH 0/2] Mark expected switch fall-throughs and fix missing break

From: Jes Sorensen
Date: Mon Oct 22 2018 - 10:36:25 EST


On 10/22/18 7:49 AM, Gustavo A. R. Silva wrote:
> In preparation to enabling -Wimplicit-fallthrough, this patchset aims
> to mark multiple switch cases where we are expecting to fall through.
>
> Also, the second patch in this series fixes a missing break in switch.

Enabling that sounds like a great way to inflict pain and suffering.

Not a big deal to put that in the code, the second patch looks fine though.

Jes