From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Suppress "variable may be used uninitialized" warning.
Date: Fri, 05 Apr 2024 14:58:44 +0000
Message-ID: <E1rsl1g-000e3N-1v@gemulon.postgresql.org> (raw)
Suppress "variable may be used uninitialized" warning.
Buildfarm member caiman is showing this, which surprises me because
it's very late-model gcc (14.0.1) and ought to be smart enough to
know that elog(ERROR) doesn't return. But we're likely to see the
same from stupider compilers too, so add a dummy initialization in
our usual style.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3c5ff36aba8a3df19967d0ddc1249c63417bb9b0
Modified Files
--------------
src/backend/parser/parse_expr.c | 1 +
1 file changed, 1 insertion(+)
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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Suppress "variable may be used uninitialized" warning.
In-Reply-To: <E1rsl1g-000e3N-1v@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