From 6392f2a0968c20ecde4d27b6652703ad931fce92 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Thu, 7 Apr 2022 00:49:32 -0700 Subject: [PATCH] Try to silence "-Wmissing-braces" complaints in rmgrdesc.c. Per buildfarm member lapwing. https://postgr.es/m/20220407065640.xljttqcs46k4lyvr@alap3.anarazel.de --- src/bin/pg_waldump/rmgrdesc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/pg_waldump/rmgrdesc.c b/src/bin/pg_waldump/rmgrdesc.c index fac509ed13..6b8c17bb4c 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; /*