mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-29 22:49:41 +03: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:
		| @@ -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"); | ||||||
|  |  | ||||||
| /* | /* | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user