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: Remove redundant initialization of a local variable.
Date: Mon, 19 Feb 2018 04:33:15 +0000
Message-ID: <E1end8d-00075d-5G@gemulon.postgresql.org> (raw)

Remove redundant initialization of a local variable.

In what was doubtless a typo, commit bf6c614a2 introduced a duplicate
initialization of a local variable.  This made Coverity unhappy, as well
as pretty much anybody reading the code.  We don't even have a real use
for the local variable, so just remove it.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8c44802b6ed4846accb08e2ffe93040b8b42aae9

Modified Files
--------------
src/backend/executor/nodeGroup.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1end8d-00075d-5G@gemulon.postgresql.org>
Permalink:  ../E1end8d-00075d-5G@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1end8d-00075d-5G@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: Remove redundant initialization of a local variable.
  In-Reply-To: <E1end8d-00075d-5G@gemulon.postgresql.org>
  References: <E1end8d-00075d-5G@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