mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Miscellaneous cleanup to silence compiler warnings seen on Mingw.
Remove some dead code, conditionally declare some items or call some code, and fix one or two declarations.
This commit is contained in:
@ -66,7 +66,9 @@ BitmapHeapNext(BitmapHeapScanState *node)
|
||||
TIDBitmap *tbm;
|
||||
TBMIterator *tbmiterator;
|
||||
TBMIterateResult *tbmres;
|
||||
#ifdef USE_PREFETCH
|
||||
TBMIterator *prefetch_iterator;
|
||||
#endif
|
||||
OffsetNumber targoffset;
|
||||
TupleTableSlot *slot;
|
||||
|
||||
@ -79,7 +81,9 @@ BitmapHeapNext(BitmapHeapScanState *node)
|
||||
tbm = node->tbm;
|
||||
tbmiterator = node->tbmiterator;
|
||||
tbmres = node->tbmres;
|
||||
#ifdef USE_PREFETCH
|
||||
prefetch_iterator = node->prefetch_iterator;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* If we haven't yet performed the underlying index scan, do it, and begin
|
||||
|
Reference in New Issue
Block a user