Page MenuHomeFreeBSD

db_command.c: use designated initializers
ClosedPublic

Authored by mhorne on Jun 23 2022, 6:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 5, 1:21 AM
Unknown Object (File)
Sun, Oct 4, 1:00 AM
Unknown Object (File)
Fri, Sep 25, 7:35 PM
Unknown Object (File)
Wed, Sep 16, 10:48 PM
Unknown Object (File)
Wed, Sep 16, 8:27 PM
Unknown Object (File)
Wed, Sep 16, 7:09 PM
Unknown Object (File)
Sep 6 2026, 11:05 AM
Unknown Object (File)
Sep 5 2026, 6:01 AM

Details

Summary

Provide separate helper macros for regular commands and next-level table
commands as they are mutually exclusive. This ensures proper
initialization of each element and allows us to exclude some redundant
fields, such as specifying .more = NULL for every regular command.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46098
Build 42987: arc lint + arc unit