pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove superfluous variable assignment
Date: Thu, 02 Sep 2021 11:10:28 +0000
Message-ID: <E1mLkc0-0004P7-Ih@gemulon.postgresql.org> (raw)

Remove superfluous variable assignment

Commit a4205fa00 moved setting conn to NULL directly after the call
to PQfinish, but the original conn = NULL; remained a few lines down.
Fix by removing the superfluous assignment.

Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Discussion: https://postgr.es/m/CALj2ACVRiNvMDHYQGiRrGs2Z9dOydfLh2MymEk9i8CSn23UtCg@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/bin/pg_basebackup/pg_receivewal.c | 2 --
1 file changed, 2 deletions(-)



Message-ID: <E1mLkc0-0004P7-Ih@gemulon.postgresql.org>
Permalink:  ../E1mLkc0-0004P7-Ih@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mLkc0-0004P7-Ih@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: dgustafsson@postgresql.org
  Subject: Re: pgsql: Remove superfluous variable assignment
  In-Reply-To: <E1mLkc0-0004P7-Ih@gemulon.postgresql.org>
  References: <E1mLkc0-0004P7-Ih@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