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, Nov 9, 12:09 AM
Unknown Object (File)
Sun, Nov 2, 12:14 PM
Unknown Object (File)
Sun, Nov 2, 12:14 PM
Unknown Object (File)
Sun, Nov 2, 12:14 PM
Unknown Object (File)
Sun, Nov 2, 8:02 AM
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
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