pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix some compiler warnings on older compilers
Date: Mon, 04 Nov 2019 10:12:02 +0000
Message-ID: <E1iRZL8-00012R-Lt@gemulon.postgresql.org> (raw)

Fix some compiler warnings on older compilers

Some older compilers appear to not understand the recently introduced
PG_FINALLY code structure that well in some circumstances and complain
about possibly uninitialized variables.  So to fix, initialize the
variables explicitly in the cases complained about.

Discussion: https://www.postgresql.org/message-id/flat/95a822c3-728b-af0e-d7e5-71890507ae0c%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a63c84e59acf9f5e2b54aad4974a80e5075af646

Modified Files
--------------
src/backend/utils/adt/xml.c   | 2 +-
src/pl/plperl/plperl.c        | 2 +-
src/pl/plpython/plpy_exec.c   | 2 +-
src/pl/plpython/plpy_typeio.c | 2 +-
src/pl/tcl/pltcl.c            | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)



Message-ID: <E1iRZL8-00012R-Lt@gemulon.postgresql.org>
Permalink:  ../E1iRZL8-00012R-Lt@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iRZL8-00012R-Lt@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: peter@eisentraut.org
  Subject: Re: pgsql: Fix some compiler warnings on older compilers
  In-Reply-To: <E1iRZL8-00012R-Lt@gemulon.postgresql.org>
  References: <E1iRZL8-00012R-Lt@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