Content-Length: 263781 | pFad | http://github.com/postgrespro/postgres/commit/270d7dd8a5a7128fc2b859f3bf95e2c1fb45be79

31 Silence compiler warnings in tbm_prepare_shared_iterate(). · postgrespro/postgres@270d7dd · GitHub
Skip to content

Commit 270d7dd

Browse files
committed
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.
1 parent 9112446 commit 270d7dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/nodes/tidbitmap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -787,8 +787,8 @@ tbm_prepare_shared_iterate(TIDBitmap *tbm)
787787
dsa_pointer dp;
788788
TBMSharedIteratorState *istate;
789789
PTEntryArray *ptbase;
790-
PTIterationArray *ptpages;
791-
PTIterationArray *ptchunks;
790+
PTIterationArray *ptpages = NULL;
791+
PTIterationArray *ptchunks = NULL;
792792

793793
Assert(tbm->dsa != NULL);
794794
Assert(tbm->iterating != TBM_ITERATING_PRIVATE);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/270d7dd8a5a7128fc2b859f3bf95e2c1fb45be79

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy