]> granicus.if.org Git - postgresql/commit
Suppress compiler warnings in non-cassert builds.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 24 Aug 2016 03:21:10 +0000 (23:21 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 24 Aug 2016 03:21:10 +0000 (23:21 -0400)
commit71e006f031310f77ab72881c47a7d8f41df748bb
tree3f8471b79e7c54df46c1ca526232425f3050487c
parent32909a57f9fb131eab8971a6d9845b55bbcb9091
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.
src/backend/access/gist/gistutil.c
src/backend/utils/adt/amutils.c