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, Jan 12, 10:58 PM
Unknown Object (File)
Sat, Jan 11, 8:56 PM
Unknown Object (File)
Tue, Dec 24, 10:29 PM
Unknown Object (File)
Dec 1 2024, 3:46 PM
Unknown Object (File)
Nov 22 2024, 7:36 PM
Unknown Object (File)
Nov 20 2024, 10:58 PM
Unknown Object (File)
Nov 6 2024, 11:44 PM
Unknown Object (File)
Nov 6 2024, 9:34 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