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:
Tom Lane 2019-03-27 11:10:42 -04:00
parent ecfed4a122
commit a51cc7e9e6
1 changed files with 1 additions and 0 deletions

View File

@ -6986,6 +6986,7 @@ heap_compute_xid_horizon_for_tuples(Relation rel,
/* Iterate over all tids, and check their horizon */
hblkno = InvalidBlockNumber;
hpage = NULL;
for (int i = 0; i < nitems; i++)
{
ItemPointer htid = &tids[i];