]> granicus.if.org Git - postgresql/commit
Back-patch 9.4-era compiler warning fixes into older branches.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 17 Feb 2017 21:58:26 +0000 (16:58 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 17 Feb 2017 21:58:59 +0000 (16:58 -0500)
commit4dcdc78ffe7c5e494f61285df2209ff1ad2aeedf
treeb0df3ecdcc5f55aa580784702389b1fcb33615b1
parent52c35254a1763fea836d1da0f327d870e1ec8228
Back-patch 9.4-era compiler warning fixes into older branches.

This applies portions of commits b64b5ccb6 and b1aebbb6a to the older
branches, in hopes of getting -Werror builds to succeed there.  The
applied changes simply remove useless tests, eg checking an unsigned
variable to see if it is >= 0.  Recent versions of clang warn about
such tests by default.
contrib/pg_standby/pg_standby.c
src/interfaces/libpq/fe-exec.c