Skip to content

Commit 96a73fc

Browse files
committed
Fix compiler warning for non-assert builds.
Reported by Peter Geoghegan David Rowley
1 parent 095d401 commit 96a73fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/brin/brin_revmap.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ brinRevmapTerminate(BrinRevmap *revmap)
110110
void
111111
brinRevmapExtend(BrinRevmap *revmap, BlockNumber heapBlk)
112112
{
113-
BlockNumber mapBlk;
113+
BlockNumber mapBlk PG_USED_FOR_ASSERTS_ONLY;
114114

115115
mapBlk = revmap_extend_and_get_blkno(revmap, heapBlk);
116116

0 commit comments

Comments
 (0)