Remove last NULL element in config_group_names[]
This has not been needed since 9d77708d83ee 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"),
|
[PRESET_OPTIONS] = gettext_noop("Preset Options"),
|
||||||
[CUSTOM_OPTIONS] = gettext_noop("Customized Options"),
|
[CUSTOM_OPTIONS] = gettext_noop("Customized Options"),
|
||||||
[DEVELOPER_OPTIONS] = gettext_noop("Developer 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");
|
"array length mismatch");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user