projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b915bf4
)
Silence compiler warning in release 11 and 12 branches
author
Andrew Dunstan
<
[email protected]
>
Sun, 27 Aug 2023 11:01:26 +0000
(07:01 -0400)
committer
Andrew Dunstan
<
[email protected]
>
Sun, 27 Aug 2023 11:03:53 +0000
(07:03 -0400)
The offending code is not present in later branches.
Discussion: https://postgr.es/m/
ba2150c1
-8485-6597-fafe-
4fcd39e49c28
@dunslane.net
src/backend/commands/foreigncmds.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/foreigncmds.c
b/src/backend/commands/foreigncmds.c
index 48746948b3f690a48002cf2ce4ea093b3ac64273..237dfcaf9229d631c503dab80fe1cbe193bdcd9c 100644
(file)
--- a/
src/backend/commands/foreigncmds.c
+++ b/
src/backend/commands/foreigncmds.c
@@
-472,7
+472,7
@@
static Oid
lookup_fdw_handler_func(DefElem *handler)
{
Oid handlerOid;
- Oid funcargtypes[1]
;
/* dummy */
+ Oid funcargtypes[1]
= {0};
/* dummy */
if (handler == NULL || handler->arg == NULL)
return InvalidOid;