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

Lines changed: 1 addition & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy