]> 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)
commit7fbbe75875ca510c4fe730c2ecbb48bf54001574
tree5573a6efd3943831c764427e2dd1099fada432ed
parent4efef9d18e637f5d1e9e09129785d73f5f8619b4
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