Silence _bt_check_unique compiler warning.

Reported-By: Tom Lane
Discussion: https://postgr.es/m/841649.1592065060@sss.pgh.pa.us
This commit is contained in:
Peter Geoghegan 2020-06-13 09:33:31 -07:00
parent 095f2d95c9
commit e745bcc001
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ _bt_check_unique(Relation rel, BTInsertState insertstate, Relation heapRel,
uint32 *speculativeToken)
{
IndexTuple itup = insertstate->itup;
IndexTuple curitup;
IndexTuple curitup = NULL;
ItemId curitemid;
BTScanInsert itup_key = insertstate->itup_key;
SnapshotData SnapshotDirty;