Re: [PATCH] Redudant initilization

Ranier Vilela <ranier.vf@gmail.com>

From: Ranier Vilela <ranier.vf@gmail.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2020-09-04T16:55:52Z
Lists: pgsql-hackers
Em sex., 4 de set. de 2020 às 11:01, Bruce Momjian <bruce@momjian.us>
escreveu:

> On Fri, Sep  4, 2020 at 09:39:45AM -0300, Ranier Vilela wrote:
> > Em qui., 3 de set. de 2020 às 23:57, Bruce Momjian <bruce@momjian.us>
> escreveu:
> >
> >     On Wed, Apr  1, 2020 at 08:57:18AM -0300, Ranier Vilela wrote:
> >     > Hi,
> >     > New patch with yours suggestions.
> >
> >     Patch applied to head, thanks.
> >
> > Thank you Bruce.
>
> I have to say, I am kind of stumped why compilers do not warn of such
> cases, and why we haven't gotten reports about these cases before.
>
I believe it is because, syntactically, there is no error.

I would like to thank Kyotaro Horiguchi,
my thanks for your review.

regards,
Ranier Vilela

Commits

  1. Yet more elimination of dead stores and useless initializations.

  2. Remove still more useless assignments.

  3. Remove some more useless assignments.