Page MenuHomeFreeBSD

style.9: clarify FALLTHROUGH
ClosedPublic

Authored by emaste on Oct 22 2024, 4:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 13, 12:20 PM
Unknown Object (File)
Thu, Aug 13, 12:20 PM
Unknown Object (File)
Thu, Aug 13, 12:18 PM
Unknown Object (File)
Wed, Aug 5, 8:59 AM
Unknown Object (File)
Tue, Jul 21, 12:48 PM
Unknown Object (File)
Mon, Jul 20, 10:23 AM
Unknown Object (File)
Jul 18 2026, 8:17 AM
Unknown Object (File)
Jul 4 2026, 3:17 PM
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