mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-21 03:13:05 +08:00
Remove last NULL element in config_group_names[]
This has not been needed since 9d77708d83
where there was a loop to
print all the possible GUC groups, relying on the last element to be
NULL.
Author: Japin Li
Reviewed-By: Jelte Fennema-Nio
Discussion: https://postgr.es/m/CAGECzQT3caUbcCcszNewCCmMbCuyP7XNAm60J3ybd6PN5kH2Dw@mail.gmail.com
This commit is contained in:
parent
413c18401d
commit
48920476b4
@ -715,11 +715,9 @@ const char *const config_group_names[] =
|
||||
[PRESET_OPTIONS] = gettext_noop("Preset Options"),
|
||||
[CUSTOM_OPTIONS] = gettext_noop("Customized Options"),
|
||||
[DEVELOPER_OPTIONS] = gettext_noop("Developer Options"),
|
||||
/* help_config wants this array to be null-terminated */
|
||||
NULL
|
||||
};
|
||||
|
||||
StaticAssertDecl(lengthof(config_group_names) == (DEVELOPER_OPTIONS + 2),
|
||||
StaticAssertDecl(lengthof(config_group_names) == (DEVELOPER_OPTIONS + 1),
|
||||
"array length mismatch");
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user