Page MenuHomeFreeBSD

style.9: clarify FALLTHROUGH
ClosedPublic

Authored by emaste on Oct 22 2024, 4:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 10, 6:35 PM
Unknown Object (File)
Sun, Mar 1, 5:32 PM
Unknown Object (File)
Sun, Mar 1, 9:25 AM
Unknown Object (File)
Sat, Feb 28, 7:07 AM
Unknown Object (File)
Fri, Feb 27, 12:22 PM
Unknown Object (File)
Fri, Feb 27, 3:05 AM
Unknown Object (File)
Sun, Feb 22, 8:54 AM
Unknown Object (File)
Feb 8 2026, 2:02 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