]> 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)
commite9e2bde2d29ceed3817434b85a4dfef84fb25556
treedebaf7773627717f494195a8b17adf686b2d10ef
parent6b77a0e125897fd3b5c553017a060735803e580e
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