summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2017-03-08 15:39:40 +0000
committerTom Lane2017-03-08 15:39:40 +0000
commit270d7dd8a5a7128fc2b859f3bf95e2c1fb45be79 (patch)
tree64b82c585d9a05af3eabeb595f87178afa99686f
parent911244610cd08fcdc28bd57db4a0d810cffc5080 (diff)
Silence compiler warnings in tbm_prepare_shared_iterate().
Maybe Robert's compiler can convince itself that these variables are never used uninitialized, but mine can't.
-rw-r--r--src/backend/nodes/tidbitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/nodes/tidbitmap.c b/src/backend/nodes/tidbitmap.c
index 9dcef32704..44cc9daa03 100644
--- a/src/backend/nodes/tidbitmap.c
+++ b/src/backend/nodes/tidbitmap.c
@@ -787,8 +787,8 @@ tbm_prepare_shared_iterate(TIDBitmap *tbm)
dsa_pointer dp;
TBMSharedIteratorState *istate;
PTEntryArray *ptbase;
- PTIterationArray *ptpages;
- PTIterationArray *ptchunks;
+ PTIterationArray *ptpages = NULL;
+ PTIterationArray *ptchunks = NULL;
Assert(tbm->dsa != NULL);
Assert(tbm->iterating != TBM_ITERATING_PRIVATE);