agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Silence "may be used uninitialized" compiler warning.
Date: Thu, 18 Jun 2026 16:30:27 +0000
Message-ID: <E1waFdL-000tOv-1h@gemulon.postgresql.org> (raw)

Silence "may be used uninitialized" compiler warning.

Newer gcc warns that this "actual_arg_types" variable may be used
uninitialized, but visual inspection indicates there's no bug.  To
silence the warning, initialize the variable to zeros.

Bug: #19485
Reported-by: Hans Buschmann <buschmann@nidsa.net>
Tested-by: Erik Rijkers <er@xs4all.nl>
Tested-by: Hans Buschmann <buschmann@nidsa.net>
Reviewed-by: Tristan Partin <tristan@partin.io>
Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>
Discussion: https://postgr.es/m/19485-2b03231a775756f1%40postgresql.org
Discussion: https://postgr.es/m/6c52a1a6612948519468d46cb224a8c4%40nidsa.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f04781df5daf112840d08eab39fb95505fda6c9c

Modified Files
--------------
src/backend/optimizer/util/clauses.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1waFdL-000tOv-1h@gemulon.postgresql.org>
Permalink:  ../E1waFdL-000tOv-1h@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1waFdL-000tOv-1h@gemulon.postgresql.org

reply

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: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Silence "may be used uninitialized" compiler warning.
  In-Reply-To: <E1waFdL-000tOv-1h@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox