aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-03-08 10:39:40 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-03-08 10:39:40 -0500
commit270d7dd8a5a7128fc2b859f3bf95e2c1fb45be79 (patch)
tree64b82c585d9a05af3eabeb595f87178afa99686f
parent911244610cd08fcdc28bd57db4a0d810cffc5080 (diff)
downloadpostgresql-270d7dd8a5a7128fc2b859f3bf95e2c1fb45be79.tar.gz
postgresql-270d7dd8a5a7128fc2b859f3bf95e2c1fb45be79.zip
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 9dcef327043..44cc9daa03f 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);