mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Suppress uninitialized-variable warning.
Apparently Andres' compiler is smart enough to see that hpage must be initialized before use ... but mine isn't.
This commit is contained in:
parent
ecfed4a122
commit
a51cc7e9e6
@ -6986,6 +6986,7 @@ heap_compute_xid_horizon_for_tuples(Relation rel,
|
|||||||
|
|
||||||
/* Iterate over all tids, and check their horizon */
|
/* Iterate over all tids, and check their horizon */
|
||||||
hblkno = InvalidBlockNumber;
|
hblkno = InvalidBlockNumber;
|
||||||
|
hpage = NULL;
|
||||||
for (int i = 0; i < nitems; i++)
|
for (int i = 0; i < nitems; i++)
|
||||||
{
|
{
|
||||||
ItemPointer htid = &tids[i];
|
ItemPointer htid = &tids[i];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user