pgsql: Suppress possibly-uninitialized-variable warnings. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Suppress possibly-uninitialized-variable warnings.
Date
Msg-id E1ecjds-0004mr-GQ@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: PL/Python: Simplify PLyLong_FromInt64
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Improve type conversion of SPI_processed in Python