Page MenuHomeFreeBSD

style.9: clarify FALLTHROUGH
ClosedPublic

Authored by emaste on Oct 22 2024, 4:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 29, 5:26 PM
Unknown Object (File)
Wed, Oct 29, 1:24 PM
Unknown Object (File)
Wed, Oct 29, 1:23 PM
Unknown Object (File)
Sat, Oct 25, 2:26 AM
Unknown Object (File)
Thu, Oct 16, 11:56 PM
Unknown Object (File)
Sat, Oct 4, 5:31 AM
Unknown Object (File)
Sep 13 2025, 11:42 PM
Unknown Object (File)
Sep 11 2025, 4:41 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