summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund2022-04-07 07:49:32 +0000
committerAndres Freund2022-04-07 07:56:09 +0000
commit6392f2a0968c20ecde4d27b6652703ad931fce92 (patch)
tree58d1e42ffac53691df212ef25313d121a3117993
parent5dc0418fab281d017a61a5756240467af982bdfd (diff)
Try to silence "-Wmissing-braces" complaints in rmgrdesc.c.
Per buildfarm member lapwing. https://postgr.es/m/[email protected]
-rw-r--r--src/bin/pg_waldump/rmgrdesc.c4
1 files 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;
/*