From: Tom Lane Date: Wed, 31 Mar 2021 20:50:45 +0000 (-0400) Subject: Silence compiler warning in non-assert builds. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=8998e3cafa23632790787b8cc726998e84067259;p=users%2Fgsingh%2Fpostgres.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 649f15113d..16c2979f2d 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;