From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove useless initializations
Date: Mon, 01 Jul 2024 06:55:04 +0000
Message-ID: <E1sOAwJ-003lBQ-Ff@gemulon.postgresql.org> (raw)
Remove useless initializations
The struct is already initialized to all zeros right before this, and
randomly initializing a few but not all fields to zero again has no
technical or educational value.
Reviewed-by: Tomasz Rybak <tomasz.rybak@post.pl>
Discussion: https://www.postgresql.org/message-id/flat/a368248e-69e4-40be-9c07-6c3b5880b0a6@eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/da2aeba8f53379e84a8f3f656b6c2ffe5878eff5
Modified Files
--------------
src/backend/utils/cache/relcache.c | 2 --
1 file changed, 2 deletions(-)
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: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove useless initializations
In-Reply-To: <E1sOAwJ-003lBQ-Ff@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