| From: | Nathan Bossart <nathan(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Initialize variables to placate compiler. |
| Date: | 2024-03-18 01:17:41 |
| Message-ID: | E1rm1dF-004MJZ-A3@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2024-03-18 05:21:48 | pgsql: Remove references to backup_fs_hot() in Cluster.pm |
| Previous Message | Daniel Gustafsson | 2024-03-17 23:03:35 | pgsql: Support json_errdetail in FRONTEND code |