svn commit: r301959 - head/sys/kern
Bryan Drewery
bdrewery at FreeBSD.org
Fri Jun 17 16:51:44 UTC 2016
On 6/16/2016 11:13 PM, Konstantin Belousov wrote:
> On Thu, Jun 16, 2016 at 10:17:19AM -0700, Conrad Meyer wrote:
>> style(9) nit: /* FALLTHROUGH */
>
> FALLTHROUGH is only applicable when there are executable statements for
> both cases, and first sequence of statements does not end in break.
> Look at the switch() example right after the FALLTHROUGH requirement
> in the style(9), which shows case '?'.
>
Yes the example shows code in both cases, but the text about it is more
strict "Elements in a switch statement that cascade should have a
FALLTHROUGH comment."
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20160617/34f1def5/attachment.sig>
More information about the svn-src-all
mailing list