pgsql: Silence "may be used uninitialized" compiler warning.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Silence "may be used uninitialized" compiler warning.
Date: 2026-06-18 16:30:27
Message-ID: E1waFdL-000tP0-1s@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)nidsa(dot)net>
Tested-by: Erik Rijkers <er(at)xs4all(dot)nl>
Tested-by: Hans Buschmann <buschmann(at)nidsa(dot)net>
Reviewed-by: Tristan Partin <tristan(at)partin(dot)io>
Reviewed-by: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Discussion: https://postgr.es/m/19485-2b03231a775756f1%40postgresql.org
Discussion: https://postgr.es/m/6c52a1a6612948519468d46cb224a8c4%40nidsa.net

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7fbbe75875ca510c4fe730c2ecbb48bf54001574

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

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2026-06-18 21:22:26 pgsql: Fix comments on data checksum cost settings
Previous Message Tom Lane 2026-06-18 16:23:27 pgsql: hstore_plperl: Add CHECK_FOR_INTERRUPTS() in reference-unwinding