pgsql: Suppress possibly-uninitialized-variable warnings.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Suppress possibly-uninitialized-variable warnings.
Date: 2018-01-20 03:16:28
Message-ID: E1ecjds-0004mr-GQ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress possibly-uninitialized-variable warnings.

Apparently, Peter's compiler has faith that the switch test values here
could never not be valid values of their enums. Mine does not, and
I tend to agree with it.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/96102a32a374c3b81ba9c2b24bcf1943a87a9ef6

Modified Files
--------------
src/backend/catalog/aclchk.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-01-20 13:04:48 pgsql: Improve type conversion of SPI_processed in Python
Previous Message Peter Eisentraut 2018-01-19 22:31:12 pgsql: PL/Python: Simplify PLyLong_FromInt64