Commit a51cc7e9 authored by Tom Lane's avatar Tom Lane

Suppress uninitialized-variable warning.

Apparently Andres' compiler is smart enough to see that hpage
must be initialized before use ... but mine isn't.
parent ecfed4a1
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment