[COMMITTERS] pgsql: Quieten warnings about unused variables - Mailing list pgsql-committers

From Andrew Dunstan
Subject [COMMITTERS] pgsql: Quieten warnings about unused variables
Date
Msg-id E1dv0xL-0004Ei-5H@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Quieten warnings about unused variables

These variables are only ever written to in assertion-enabled builds,
and the latest Microsoft compilers complain about such variables in
non-assertion-enabled builds.

Apparently they don't worry so much about variables that are written to
but not read from, so most of our PG_USED_FOR_ASSERTS_ONLY variables
don't cause the problem.

Discussion: https://postgr.es/m/7800.1505950322@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/28ae524bbf865d23eb10f6ae1b996d59dcc30e4e

Modified Files
--------------
src/backend/optimizer/path/costsize.c | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: Associate partitioning information with each RelOptInfo.
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Give a better error for duplicate entries in VACUUM/ANALYZEcolu