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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy