pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Suppress compiler warnings in non-cassert builds.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Suppress compiler warnings in non-cassert builds.
@ 2016-08-24 03:21 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2016-08-24 03:21 UTC (permalink / raw)
  To: pgsql-committers

Suppress compiler warnings in non-cassert builds.

With Asserts off, these variables are set but never used, resulting
in warnings from pickier compilers.  Fix that with our standard solution.
Per report from Jeff Janes.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/71e006f031310f77ab72881c47a7d8f41df748bb

Modified Files
--------------
src/backend/access/gist/gistutil.c | 2 +-
src/backend/utils/adt/amutils.c    | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)


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


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Suppress compiler warnings in non-cassert builds.
@ 2016-08-24 03:21 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2016-08-24 03:21 UTC (permalink / raw)
  To: pgsql-committers

Suppress compiler warnings in non-cassert builds.

With Asserts off, these variables are set but never used, resulting
in warnings from pickier compilers.  Fix that with our standard solution.
Per report from Jeff Janes.

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5c0b74240cb1f25a09b9b38d7cb665c0935a5d81

Modified Files
--------------
src/backend/access/gist/gistutil.c | 2 +-
src/backend/utils/adt/amutils.c    | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)


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


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-08-24 03:21 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-08-24 03:21 pgsql: Suppress compiler warnings in non-cassert builds. Tom Lane <tgl@sss.pgh.pa.us>
2016-08-24 03:21 pgsql: Suppress compiler warnings in non-cassert builds. Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox