From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix incidental warnings from cpluspluscheck.
Date: Sun, 18 Aug 2019 23:01:52 +0000
Message-ID: <E1hzUBM-0002Tc-3O@gemulon.postgresql.org> (raw)
Fix incidental warnings from cpluspluscheck.
Remove use of "register" keyword in hashfn.c. It's obsolescent
according to recent C++ compilers, and no modern C compiler pays
much attention to it either.
Also fix one cosmetic warning about signed vs unsigned comparison.
Discussion: https://postgr.es/m/20518.1559494394@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/232720be9b6412ec2b6bee405299bcbbbe700f0b
Modified Files
--------------
src/backend/utils/hash/hashfn.c | 16 ++++++++--------
src/include/utils/expandeddatum.h | 2 +-
src/include/utils/hashutils.h | 6 +++---
3 files changed, 12 insertions(+), 12 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Fix incidental warnings from cpluspluscheck.
In-Reply-To: <E1hzUBM-0002Tc-3O@gemulon.postgresql.org>
References: <E1hzUBM-0002Tc-3O@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox