Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mxqset: Use initializers with designators
Not all fields of struct argp_option and struct argp are initialized: mxqset.c:192:5: warning: missing initializer for field ‘group’ of ‘const struct argp_option’ [-Wmissing-field-initializers] {"whitelist", 15, "", 0, NULL}, mxqset.c:196:21: warning: missing initializer for field ‘children’ of ‘const struct argp’ [-Wmissing-field-initializers] static const struct argp argp = { options, parser, NULL, NULL } Use structure initializers with designators, which initialize all remaining fields with their zero values.
- Loading branch information