pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Initialize variable to silence compiler warning.
Date: Wed, 27 Feb 2019 17:18:02 +0000
Message-ID: <E1gz2qI-0002pg-8o@gemulon.postgresql.org> (raw)

Initialize variable to silence compiler warning.

After ff11e7f4b9ae Tom's compiler warns about accessing a potentially
uninitialized rInfo. That's not actually possible, but it's
understandable the compiler would get this wrong. NULL initialize too.

Reported-By: Tom Lane
Discussion: https://postgr.es/m/11199.1551285318@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5963b29e03d9b93011acb3954ccc3565d217acc3

Modified Files
--------------
src/backend/commands/trigger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1gz2qI-0002pg-8o@gemulon.postgresql.org>
Permalink:  ../E1gz2qI-0002pg-8o@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gz2qI-0002pg-8o@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: andres@anarazel.de
  Subject: Re: pgsql: Initialize variable to silence compiler warning.
  In-Reply-To: <E1gz2qI-0002pg-8o@gemulon.postgresql.org>
  References: <E1gz2qI-0002pg-8o@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