pgsql: Initialize variables to placate compiler.

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема pgsql: Initialize variables to placate compiler.
Дата
Msg-id E1rm1dF-004MJZ-A3@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Initialize variables to placate compiler.

Since commit 012460ee93, some compilers have been warning that a
couple of variables may be used uninitialized.  There doesn't
appear to be any actual risk, so let's just initialize these
variables to 0 to silence the compiler warnings.

Discussion: https://postgr.es/m/20240317192927.GA3978212%40nathanxps13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/949300402bde06699a23f216e26343e3503ba78b

Modified Files
--------------
src/backend/commands/statscmds.c | 2 +-
src/backend/commands/tablecmds.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)


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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: pgsql: Support json_errdetail in FRONTEND code
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Remove references to backup_fs_hot() in Cluster.pm