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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to