From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Silence compiler warnings from some older compilers.
Date: Wed, 01 Jun 2022 21:22:03 +0000
Message-ID: <E1nwVn1-002FNE-Fq@gemulon.postgresql.org> (raw)
Silence compiler warnings from some older compilers.
Since a117cebd6, some older gcc versions issue "variable may be used
uninitialized in this function" complaints for brin_summarize_range.
Silence that using the same coding pattern as in bt_index_check_internal;
arguably, a117cebd6 had too narrow a view of which compilers might give
trouble.
Nathan Bossart and Tom Lane. Back-patch as the previous commit was.
Discussion: https://postgr.es/m/20220601163537.GA2331988@nathanxps13
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/c051180147760fbb56b38bad311b427e57ac8cab
Modified Files
--------------
contrib/amcheck/verify_nbtree.c | 2 +-
src/backend/access/brin/brin.c | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
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: Silence compiler warnings from some older compilers.
In-Reply-To: <E1nwVn1-002FNE-Fq@gemulon.postgresql.org>
References: <E1nwVn1-002FNE-Fq@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