pgsql: Initialize variables to placate compiler. - Mailing list pgsql-committers

From Nathan Bossart
Subject pgsql: Initialize variables to placate compiler.
Date
Msg-id E1rm1dF-004MJZ-A3@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: Support json_errdetail in FRONTEND code
Next
From: Michael Paquier
Date:
Subject: pgsql: Remove references to backup_fs_hot() in Cluster.pm