]> granicus.if.org Git - postgresql/commitdiff
Silence compiler warnings in BitmapHeapNext().
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 8 Mar 2017 17:43:39 +0000 (12:43 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 8 Mar 2017 17:43:39 +0000 (12:43 -0500)
Same disease as 270d7dd8a5a7128fc2b859f3bf95e2c1fb45be79.

src/backend/executor/nodeBitmapHeapscan.c

index 833a93e1b7d36317b1576bdff009d17375fd29d8..2e9ff7d1b90bfa6fe2909946b05190b37c1f7665 100644 (file)
@@ -76,8 +76,8 @@ BitmapHeapNext(BitmapHeapScanState *node)
        ExprContext *econtext;
        HeapScanDesc scan;
        TIDBitmap  *tbm;
-       TBMIterator *tbmiterator;
-       TBMSharedIterator *shared_tbmiterator;
+       TBMIterator *tbmiterator = NULL;
+       TBMSharedIterator *shared_tbmiterator = NULL;
        TBMIterateResult *tbmres;
        OffsetNumber targoffset;
        TupleTableSlot *slot;