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, Dec 1, 3:46 PM
Unknown Object (File)
Fri, Nov 22, 7:36 PM
Unknown Object (File)
Wed, Nov 20, 10:58 PM
Unknown Object (File)
Wed, Nov 6, 11:44 PM
Unknown Object (File)
Wed, Nov 6, 9:34 PM
Unknown Object (File)
Nov 4 2024, 11:38 PM
Unknown Object (File)
Oct 24 2024, 10:37 PM
Unknown Object (File)
Oct 24 2024, 11:38 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