Page MenuHomeFreeBSD

style.9: clarify FALLTHROUGH
ClosedPublic

Authored by emaste on Tue, Oct 22, 4:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 11:38 PM
Unknown Object (File)
Thu, Oct 24, 10:37 PM
Unknown Object (File)
Thu, Oct 24, 11:38 AM
Unknown Object (File)
Wed, Oct 23, 9:50 PM
Unknown Object (File)
Wed, Oct 23, 9:49 PM
Unknown Object (File)
Wed, Oct 23, 9:49 PM
Unknown Object (File)
Wed, Oct 23, 9:41 PM
Unknown Object (File)
Wed, Oct 23, 2:44 AM
Subscribers
None

Details

Summary

FALLTHROUGH is intended for a block of code that cascades to the next case block. Multiple case statements sharing a single block of code do not need a FALLTHROUGH comment.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable