Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a51cc7e

Browse files
committed
Suppress uninitialized-variable warning.
Apparently Andres' compiler is smart enough to see that hpage must be initialized before use ... but mine isn't.
1 parent ecfed4a commit a51cc7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/access/heap/heapam.c

+1
Original file line numberDiff line numberDiff line change
@@ -6986,6 +6986,7 @@ heap_compute_xid_horizon_for_tuples(Relation rel,
69866986

69876987
/* Iterate over all tids, and check their horizon */
69886988
hblkno = InvalidBlockNumber;
6989+
hpage = NULL;
69896990
for (int i = 0; i < nitems; i++)
69906991
{
69916992
ItemPointer htid = &tids[i];

0 commit comments

Comments
 (0)