Page MenuHomeFreeBSD

style.9: clarify FALLTHROUGH
ClosedPublic

Authored by emaste on Oct 22 2024, 4:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 29, 9:27 PM
Unknown Object (File)
Thu, Mar 26, 4:17 AM
Unknown Object (File)
Wed, Mar 25, 10:59 PM
Unknown Object (File)
Tue, Mar 10, 6:35 PM
Unknown Object (File)
Mar 1 2026, 5:32 PM
Unknown Object (File)
Mar 1 2026, 9:25 AM
Unknown Object (File)
Feb 28 2026, 7:07 AM
Unknown Object (File)
Feb 27 2026, 12:22 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