Thread: pgsql: reindexdb: Fix warning about uninitialized indices_tables_cell

pgsql: reindexdb: Fix warning about uninitialized indices_tables_cell

From
Alexander Korotkov
Date:
reindexdb: Fix warning about uninitialized indices_tables_cell

Initialize indices_tables_cell with NULL to silence the warning.  Also,
refactor the place of the first assignment of indices_tables_cell.

Reported-by: Thomas Munro, David Rowley, Tom Lane, Richard Guo
Discussion: https://postgr.es/m/2348025.1711332418%40sss.pgh.pa.us
Discussion: https://postgr.es/m/E1roXs4-005UdX-1V%40gemulon.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cc0e7ebd304a24815c0531000a4c3693878cd96c

Modified Files
--------------
src/bin/scripts/reindexdb.c | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)