Silence another _bt_check_unique compiler warning.

Per complaint from Tom Lane

Discussion: https://postgr.es/m/1922884.1617909599@sss.pgh.pa.us
This commit is contained in:
Peter Geoghegan 2021-04-08 12:54:31 -07:00
parent d1fcbde579
commit 796092fb84

View File

@ -408,7 +408,7 @@ _bt_check_unique(Relation rel, BTInsertState insertstate, Relation heapRel,
{
IndexTuple itup = insertstate->itup;
IndexTuple curitup = NULL;
ItemId curitemid;
ItemId curitemid = NULL;
BTScanInsert itup_key = insertstate->itup_key;
SnapshotData SnapshotDirty;
OffsetNumber offset;