From: Andrew Dunstan Date: Sun, 27 Aug 2023 11:01:26 +0000 (-0400) Subject: Silence compiler warning in release 11 and 12 branches X-Git-Tag: REL_11_22~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd9779141eacbad08670fc4d55d7e076301ba69a;p=thirdparty%2Fpostgresql.git 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 --- diff --git a/src/backend/commands/foreigncmds.c b/src/backend/commands/foreigncmds.c index 48746948b3f..237dfcaf922 100644 --- 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;