Explicit fall-through in switch statements?

Bruno Jesus 00cpxxx at gmail.com
Sun Nov 25 17:57:54 CST 2012


On Sun, Nov 25, 2012 at 9:20 PM, Frédéric Delanoy
<frederic.delanoy at gmail.com> wrote:
> For every wine version, static checkers (like coverity) detect cases
> where a switch case automatically falls-through to the next case.
>
> Shouldn't be there a rule that such cases are always marked with a
> "fall-through comment"?
> With the possible exception of case with no statement? like 'case FOO:
> case BAR: do_something();...'?

I remember about a similar discussion:
http://www.winehq.org/pipermail/wine-devel/2011-September/092475.html

> Frédéric

Best wishes,
Bruno



More information about the wine-devel mailing list