pgsql: Fix unused variable compiler warning in !debug builds.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix unused variable compiler warning in !debug builds.
Date: 2019-05-01 01:10:57
Message-ID: E1hLdlx-0002PE-Ao@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix unused variable compiler warning in !debug builds.

Introduced in 3dbb317d3. Fix by using the new local variable in more
places.

Reported-By: Bruce Momjian (off-list)
Backpatch: 9.4-, like 3dbb317d3

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/40230f0e2e3bed70eaada93b73a440221017d4d7

Modified Files
--------------
src/backend/catalog/indexing.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Julien Rouhaud 2019-05-01 07:55:55 Re: pgsql: Track block level checksum failures in pg_stat_database
Previous Message Andres Freund 2019-05-01 01:10:54 pgsql: Fix unused variable compiler warning in !debug builds.