projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dc0418
)
Try to silence "-Wmissing-braces" complaints in rmgrdesc.c.
author
Andres Freund
<
[email protected]
>
Thu, 7 Apr 2022 07:49:32 +0000
(
00:49
-0700)
committer
Andres 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
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_waldump/rmgrdesc.c
b/src/bin/pg_waldump/rmgrdesc.c
index fac509ed134e5190eed5cb3eb4a52ff35a0a14b9..6b8c17bb4c4ecd8be0362542978fb913450f12f4 100644
(file)
--- 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;
/*