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@lists.postgresql.org
Subject: pgsql: Remove some more useless assignments.
Date: Fri, 04 Sep 2020 18:32:49 +0000
Message-ID: <E1kEGW1-0001zq-7y@gemulon.postgresql.org> (raw)

Remove some more useless assignments.

Found with clang's scan-build tool.  It also whines about a lot of
other dead stores that we should *not* change IMO, either as a matter
of style or future-proofing.  But these places seem like clear
oversights.

Discussion: https://postgr.es/m/CAEudQAo1+AcGppxDSg8k+zF4+Kv+eJyqzEDdbpDg58-=MQcerQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/38a2d703298c9a891dc9c24c0c087f417f555c70

Modified Files
--------------
src/backend/access/brin/brin_tuple.c    | 1 -
src/backend/access/gin/ginbtree.c       | 1 -
src/backend/catalog/pg_depend.c         | 6 +++---
src/backend/optimizer/plan/planner.c    | 2 +-
src/backend/parser/parse_utilcmd.c      | 1 -
src/backend/partitioning/partbounds.c   | 4 ----
src/backend/statistics/extended_stats.c | 2 +-
src/backend/tsearch/spell.c             | 4 ++--
8 files changed, 7 insertions(+), 14 deletions(-)



Message-ID: <E1kEGW1-0001zq-7y@gemulon.postgresql.org>
Permalink:  ../E1kEGW1-0001zq-7y@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kEGW1-0001zq-7y@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 some more useless assignments.
  In-Reply-To: <E1kEGW1-0001zq-7y@gemulon.postgresql.org>
  References: <E1kEGW1-0001zq-7y@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