Skip to content

Commit f06e171

Browse files
committed
Silence compiler warning in release 11 and 12 branches
The offending code is not present in later branches. Discussion: https://postgr.es/m/ba2150c1-8485-6597-fafe-4fcd39e49c28@dunslane.net
1 parent b808dbf commit f06e171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/commands/foreigncmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ static Oid
478478
lookup_fdw_handler_func(DefElem *handler)
479479
{
480480
Oid handlerOid;
481-
Oid funcargtypes[1]; /* dummy */
481+
Oid funcargtypes[1] = {0}; /* dummy */
482482

483483
if (handler == NULL || handler->arg == NULL)
484484
return InvalidOid;

0 commit comments

Comments
 (0)