From: Tom Lane Date: Wed, 31 Mar 2021 20:50:45 +0000 (-0400) Subject: Silence compiler warning in non-assert builds. X-Git-Tag: REL_14_BETA1~399 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8998e3cafa2;p=thirdparty%2Fpostgresql.git Silence compiler warning in non-assert builds. Per buildfarm. --- diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c index 649f15113d0..16c2979f2d0 100644 --- a/contrib/postgres_fdw/postgres_fdw.c +++ b/contrib/postgres_fdw/postgres_fdw.c @@ -6820,7 +6820,7 @@ void process_pending_request(AsyncRequest *areq) { ForeignScanState *node = (ForeignScanState *) areq->requestee; - PgFdwScanState *fsstate = (PgFdwScanState *) node->fdw_state; + PgFdwScanState *fsstate PG_USED_FOR_ASSERTS_ONLY = (PgFdwScanState *) node->fdw_state; EState *estate = node->ss.ps.state; MemoryContext oldcontext;