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, May 19, 2:19 AM
Unknown Object (File)
Wed, May 13, 5:11 AM
Unknown Object (File)
Wed, May 13, 5:11 AM
Unknown Object (File)
Wed, May 13, 5:11 AM
Unknown Object (File)
Wed, May 13, 5:05 AM
Unknown Object (File)
Sun, May 3, 7:01 PM
Unknown Object (File)
Mon, Apr 27, 10:27 PM
Unknown Object (File)
Mon, Apr 27, 11:30 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