pgsql: Suppress "may be used uninitialized" warnings from older compile

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Suppress "may be used uninitialized" warnings from older compile
Date: 2025-04-17 20:47:08
Message-ID: E1u5W8a-000XJ9-0I@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress "may be used uninitialized" warnings from older compilers.

The "children" list won't be used until "got_children" has been set
true, but older compilers don't get that; about half a dozen
buildfarm animals are warning about this. Issue added by 11ff192b5.

While here, improve slightly-shaky grammar in comment.

Discussion: https://postgr.es/m/2057835.1744833309@sss.pgh.pa.us

Branch
------
master

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

Modified Files
--------------
src/backend/commands/tablecmds.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2025-04-17 21:04:52 pgsql: Make levels 1-based in pg_log_backend_memory_contexts()
Previous Message Tom Lane 2025-04-17 20:33:35 pgsql: Portability fix: isdigit() must be passed an unsigned char.