pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Suppress possibly-uninitialized-variable warnings.
Date: Sat, 20 Jan 2018 03:16:28 +0000
Message-ID: <E1ecjds-0004mr-GQ@gemulon.postgresql.org> (raw)

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



view thread (4+ messages)

Message-ID: <E1ecjds-0004mr-GQ@gemulon.postgresql.org>
Permalink:  ../E1ecjds-0004mr-GQ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ecjds-0004mr-GQ@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Suppress possibly-uninitialized-variable warnings.
  In-Reply-To: <E1ecjds-0004mr-GQ@gemulon.postgresql.org>
  References: <E1ecjds-0004mr-GQ@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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