Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d64f1cd

Browse files
Silence _bt_check_unique compiler warning.
Reported-By: Tom Lane Discussion: https://postgr.es/m/841649.1592065060@sss.pgh.pa.us
1 parent 8f5b596 commit d64f1cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/nbtree/nbtinsert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ _bt_check_unique(Relation rel, BTInsertState insertstate, Relation heapRel,
389389
uint32 *speculativeToken)
390390
{
391391
IndexTuple itup = insertstate->itup;
392-
IndexTuple curitup;
392+
IndexTuple curitup = NULL;
393393
ItemId curitemid;
394394
BTScanInsert itup_key = insertstate->itup_key;
395395
SnapshotData SnapshotDirty;

0 commit comments

Comments
 (0)