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

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Silence -Wmaybe-uninitialized compiler warnings in dbcommands.c.
Date: 2019-09-27 21:23:38
Message-ID: E1iDxiE-0007Pd-R3@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2019-09-27 21:30:10 Re: [COMMITTERS] pgsql: Establish conventions about global object names used in regressi
Previous Message Alvaro Herrera 2019-09-27 19:45:12 pgsql: Have pg_rewind run crash recovery before rewinding