Fix compiler warning for non-assert builds.

Reported by Peter Geoghegan
David Rowley
This commit is contained in:
Kevin Grittner 2014-11-10 09:42:46 -06:00
parent 095d40123c
commit 96a73fcdac

View File

@ -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);