Page MenuHomeFreeBSD

style.9: clarify FALLTHROUGH
ClosedPublic

Authored by emaste on Oct 22 2024, 4:12 PM.
Tags
None
Referenced Files
F151788344: D47242.diff
Fri, Apr 10, 4:39 PM
F151723015: D47242.diff
Fri, Apr 10, 6:48 AM
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)
Mar 10 2026, 6:35 PM
Unknown Object (File)
Mar 1 2026, 5:32 PM
Unknown Object (File)
Mar 1 2026, 9:25 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