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)
Sat, Dec 6, 2:56 AM
Unknown Object (File)
Wed, Nov 26, 1:19 PM
Unknown Object (File)
Oct 26 2025, 12:17 AM
Unknown Object (File)
Oct 21 2025, 10:34 PM
Unknown Object (File)
Oct 21 2025, 10:33 PM
Unknown Object (File)
Oct 21 2025, 10:33 PM
Unknown Object (File)
Oct 16 2025, 8:56 AM
Unknown Object (File)
Oct 14 2025, 9:41 PM

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