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, Sep 11, 10:22 AM
Unknown Object (File)
Thu, Sep 10, 8:18 PM
Unknown Object (File)
Mon, Sep 7, 12:42 PM
Unknown Object (File)
Sun, Sep 6, 8:00 PM
Unknown Object (File)
Sun, Sep 6, 7:55 PM
Unknown Object (File)
Sun, Sep 6, 6:11 PM
Unknown Object (File)
Fri, Sep 4, 3:35 AM
Unknown Object (File)
Wed, Sep 2, 1:08 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