Silence compiler warning in nbtinsert.c.
authorPeter Geoghegan <pg@bowt.ie>
Wed, 26 Feb 2020 21:17:36 +0000 (13:17 -0800)
committerPeter Geoghegan <pg@bowt.ie>
Wed, 26 Feb 2020 21:17:36 +0000 (13:17 -0800)
Per buildfarm member longfin.

src/backend/access/nbtree/nbtinsert.c

index b913543221744759e92ca62eb0b84a4e060c18cc..0889efa5c48d4744ac8885188d6d4d4e73edebc5 100644 (file)
@@ -442,7 +442,7 @@ _bt_check_unique(Relation rel, BTInsertState insertstate, Relation heapRel,
                        if (inposting || !ItemIdIsDead(curitemid))
                        {
                                ItemPointerData htid;
-                               bool            all_dead;
+                               bool            all_dead = false;
 
                                if (!inposting)
                                {