pgsql: Silence compiler warnings

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Silence compiler warnings
Date: 2018-11-23 16:06:28
Message-ID: E1gQDyO-0004HB-GV@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Silence compiler warnings

Commit cfdf4dc4fc96 left a few unnecessary assignments, one of which
caused compiler warnings, as reported by Erik Rijkers. Remove them all.

Discussion: https://postgr.es/m/df0dcca2025b3d90d946ecc508ca9678@xs4all.nl

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3be5fe2b107fae24e03c9d29d7bd7c7ad5345787

Modified Files
--------------
contrib/pg_prewarm/autoprewarm.c | 18 ++++++++----------
src/backend/postmaster/bgwriter.c | 8 ++++----
src/test/modules/worker_spi/worker_spi.c | 9 ++++-----
3 files changed, 16 insertions(+), 19 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-11-23 17:48:59 pgsql: Clamp semijoin selectivity to be not more than inner-join select
Previous Message Tom Lane 2018-11-23 15:21:00 pgsql: Remove bogus file.