pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Initialize variables to placate compiler.
Date: Mon, 18 Mar 2024 01:17:41 +0000
Message-ID: <E1rm1dF-004MJZ-A3@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1rm1dF-004MJZ-A3@gemulon.postgresql.org>
Permalink:  ../E1rm1dF-004MJZ-A3@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rm1dF-004MJZ-A3@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Initialize variables to placate compiler.
  In-Reply-To: <E1rm1dF-004MJZ-A3@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox