pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Silence -Wmaybe-uninitialized compiler warnings in dbcommands.c.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Silence -Wmaybe-uninitialized compiler warnings in dbcommands.c.
@ 2019-09-27 21:23 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Andres Freund @ 2019-09-27 21:23 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Silence -Wmaybe-uninitialized compiler warnings in dbcommands.c.

When compiling postgres using gcc -O3, there are false-positive
warnings about the now initialized variables. Silence them.

Author: Peter Eisentraut, Andres Freund
Discussion: https://postgr.es/m/15fb2350-b8b8-e188-278f-0b34fdee5210@2ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3f6b3be39ca91a62b88051a6b4fdf428a05c6b0d

Modified Files
--------------
src/backend/commands/dbcommands.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Silence -Wmaybe-uninitialized compiler warning in dbcommands.c.
@ 2022-03-19 02:16 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Andres Freund @ 2022-03-19 02:16 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Silence -Wmaybe-uninitialized compiler warning in dbcommands.c.

Introduced in f2553d43060e. See also 3f6b3be39ca9, which did so for nearby
variables.

Discussion: https://postgr.es/m/20220319014707.kgtomqdzm6m2ulro@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/97bddda61b9ae1a33116c8596c48d9dc095597a5

Modified Files
--------------
src/backend/commands/dbcommands.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2022-03-19 02:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-09-27 21:23 pgsql: Silence -Wmaybe-uninitialized compiler warnings in dbcommands.c. Andres Freund <andres@anarazel.de>
2022-03-19 02:16 pgsql: Silence -Wmaybe-uninitialized compiler warning in dbcommands.c. Andres Freund <andres@anarazel.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox