pgsql: Remove still more useless assignments.

Started by Tom Lanealmost 6 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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: /messages/by-id/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(-)