Silence compiler warning in non-assert builds.
authorTom Lane <[email protected]>
Wed, 31 Mar 2021 20:50:45 +0000 (16:50 -0400)
committerTom Lane <[email protected]>
Wed, 31 Mar 2021 20:50:45 +0000 (16:50 -0400)
Per buildfarm.

contrib/postgres_fdw/postgres_fdw.c

index 649f15113d0eefc908259cd508dbf5a0ae0bfb92..16c2979f2d06879bf35d92327275a2ca2eccdf41 100644 (file)
@@ -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;