pgsql: Remove still more useless assignments.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove still more useless assignments.
Date: 2020-09-05 00:33:50
Message-ID: E1kEM9O-0004E8-PM@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove still more useless assignments.

Fix some more things scan-build pointed to as dead stores. In some of
these cases, rearranging the code a little leads to more readable
code IMO. It's all cosmetic, though.

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9a851039aac6fc7b78a80e60699e7bd8924b6f12

Modified Files
--------------
src/backend/replication/slotfuncs.c | 3 ---
src/backend/utils/adt/formatting.c | 27 ++++++++++++---------------
src/backend/utils/adt/jsonfuncs.c | 14 ++++++--------
src/bin/scripts/vacuumdb.c | 19 ++++++-------------
4 files changed, 24 insertions(+), 39 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-09-05 01:02:15 pgsql: Make new authentication test case more robust.
Previous Message Jeff Davis 2020-09-04 19:15:17 pgsql: Fix bogus MaxAllocSize check in logtape.c.