]> 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:22 +0000 (23:21 -0400)
commit5c0b74240cb1f25a09b9b38d7cb665c0935a5d81
treedec57b8ded06b4a29550eb825cf5952cc21f5b12
parentfcf1ed48ef0b2a92f903104160f792b5c10c6595
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