Page MenuHomeFreeBSD

style.9: clarify FALLTHROUGH
ClosedPublic

Authored by emaste on Oct 22 2024, 4:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 2, 7:30 PM
Unknown Object (File)
Sat, Sep 19, 1:06 AM
Unknown Object (File)
Sat, Sep 19, 12:52 AM
Unknown Object (File)
Sat, Sep 19, 12:36 AM
Unknown Object (File)
Thu, Sep 17, 2:15 PM
Unknown Object (File)
Thu, Sep 17, 9:28 AM
Unknown Object (File)
Fri, Sep 11, 10:22 AM
Unknown Object (File)
Thu, Sep 10, 8:18 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