Page MenuHomeFreeBSD

style.9: clarify FALLTHROUGH
ClosedPublic

Authored by emaste on Oct 22 2024, 4:12 PM.
Tags
None
Referenced Files
F110528452: D47242.id145377.diff
Wed, Feb 19, 5:18 PM
Unknown Object (File)
Sat, Feb 8, 4:23 AM
Unknown Object (File)
Thu, Jan 30, 10:56 PM
Unknown Object (File)
Mon, Jan 27, 5:17 PM
Unknown Object (File)
Mon, Jan 27, 5:06 PM
Unknown Object (File)
Mon, Jan 27, 4:14 AM
Unknown Object (File)
Jan 12 2025, 10:58 PM
Unknown Object (File)
Jan 11 2025, 8:56 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