Silence another compiler warning in nbtinsert.c.
authorPeter Geoghegan
Wed, 26 Feb 2020 23:15:45 +0000 (15:15 -0800)
committerPeter Geoghegan
Wed, 26 Feb 2020 23:15:45 +0000 (15:15 -0800)
Per complaint from Álvaro Herrera.

src/backend/access/nbtree/nbtinsert.c

index 0889efa5c48d4744ac8885188d6d4d4e73edebc5..f3f3d971aa45ae70bb5b1bc24ae4c819db018dbb 100644 (file)
@@ -1064,7 +1064,7 @@ _bt_insertonpg(Relation rel,
    Page        page;
    BTPageOpaque lpageop;
    Size        itemsz;
-   IndexTuple  oposting;
+   IndexTuple  oposting = NULL;
    IndexTuple  origitup = NULL;
    IndexTuple  nposting = NULL;