From: Andres Freund Date: Thu, 7 Apr 2022 07:49:32 +0000 (-0700) Subject: Try to silence "-Wmissing-braces" complaints in rmgrdesc.c. X-Git-Tag: REL_15_BETA1~257 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=6392f2a0968c20ecde4d27b6652703ad931fce92;p=postgresql.git Try to silence "-Wmissing-braces" complaints in rmgrdesc.c. Per buildfarm member lapwing. https://postgr.es/m/20220407065640.xljttqcs46k4lyvr@alap3.anarazel.de --- diff --git a/src/bin/pg_waldump/rmgrdesc.c b/src/bin/pg_waldump/rmgrdesc.c index fac509ed134..6b8c17bb4c4 100644 --- a/src/bin/pg_waldump/rmgrdesc.c +++ b/src/bin/pg_waldump/rmgrdesc.c @@ -41,8 +41,8 @@ static const RmgrDescData RmgrDescTable[RM_N_BUILTIN_IDS] = { #define CUSTOM_NUMERIC_NAME_LEN sizeof("custom###") -static char CustomNumericNames[RM_N_CUSTOM_IDS][CUSTOM_NUMERIC_NAME_LEN] = {0}; -static RmgrDescData CustomRmgrDesc[RM_N_CUSTOM_IDS] = {0}; +static char CustomNumericNames[RM_N_CUSTOM_IDS][CUSTOM_NUMERIC_NAME_LEN] = {{0}}; +static RmgrDescData CustomRmgrDesc[RM_N_CUSTOM_IDS] = {{0}}; static bool CustomRmgrDescInitialized = false; /*