]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Silence "may be used uninitialized" compiler warning.
authorNathan Bossart <nathan@postgresql.org>
Thu, 18 Jun 2026 16:29:49 +0000 (11:29 -0500)
committerNathan Bossart <nathan@postgresql.org>
Thu, 18 Jun 2026 16:29:49 +0000 (11:29 -0500)
commite86b7a05fd0121a2e143b64b1b2bee28129351ff
tree8542ce421a87237c81f6d2f971b31a95a0300517
parent60a1d712a4726fdb44842fd06168715d8534b403
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
src/backend/optimizer/util/clauses.c