pgsql: Fix last remaining uninitialized memory warnings

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Fix last remaining uninitialized memory warnings
Дата
Msg-id E1qTeCV-001A28-Tv@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Fix last remaining uninitialized memory warnings  (Peter Smith <smithpb2250@gmail.com>)
Список pgsql-committers
Fix last remaining uninitialized memory warnings

gcc (version 13) fails to properly analyze the code due to the loop
stop condition including `l != NULL`. Let's just help it out.

Author: Tristan Partin <tristan@neon.tech>
Discussion: https://www.postgresql.org/message-id/flat/CT6HJ3U8068R.3A8SJMV02D9BC@gonk

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4a8fef0d733965c1a1836022f8a42ab1e83a721f

Modified Files
--------------
src/bin/pgbench/pgbench.c | 2 +-
src/bin/pgbench/pgbench.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix pg_dumpall with in-place tablespaces
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: struct PQcommMethods: use C99 designated initializers