From 8998e3cafa23632790787b8cc726998e84067259 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 31 Mar 2021 16:50:45 -0400 Subject: [PATCH] Silence compiler warning in non-assert builds. Per buildfarm. --- contrib/postgres_fdw/postgres_fdw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;