Try to silence "-Wmissing-braces" complaints in rmgrdesc.c.
authorAndres Freund <[email protected]>
Thu, 7 Apr 2022 07:49:32 +0000 (00:49 -0700)
committerAndres Freund <[email protected]>
Thu, 7 Apr 2022 07:56:09 +0000 (00:56 -0700)
Per buildfarm member lapwing.

https://postgr.es/m/20220407065640[email protected]

src/bin/pg_waldump/rmgrdesc.c

index fac509ed134e5190eed5cb3eb4a52ff35a0a14b9..6b8c17bb4c4ecd8be0362542978fb913450f12f4 100644 (file)
@@ -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;
 
 /*