[COMMITTERS] pgsql: Back-patch 9.4-era compiler warning fixes into older branches.
[COMMITTERS] pgsql: Back-patch 9.4-era compiler warning fixes into older branches.
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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. Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/e9e2bde2d29ceed3817434b85a4dfef84fb25556 Modified Files -------------- contrib/pg_standby/pg_standby.c | 2 +- src/interfaces/libpq/fe-exec.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)