From: Kevin Grittner Date: Mon, 10 Nov 2014 15:42:46 +0000 (-0600) Subject: Fix compiler warning for non-assert builds. X-Git-Tag: REL9_5_ALPHA1~1243 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96a73fcdace57f0f631c1f56d1cb8a7a0773e93f;p=postgresql Fix compiler warning for non-assert builds. Reported by Peter Geoghegan David Rowley --- diff --git a/src/backend/access/brin/brin_revmap.c b/src/backend/access/brin/brin_revmap.c index 7f55ded1f1..272c74e6b6 100644 --- a/src/backend/access/brin/brin_revmap.c +++ b/src/backend/access/brin/brin_revmap.c @@ -110,7 +110,7 @@ brinRevmapTerminate(BrinRevmap *revmap) void brinRevmapExtend(BrinRevmap *revmap, BlockNumber heapBlk) { - BlockNumber mapBlk; + BlockNumber mapBlk PG_USED_FOR_ASSERTS_ONLY; mapBlk = revmap_extend_and_get_blkno(revmap, heapBlk);