Re: unused local variable - Mailing list pgsql-hackers

From Tom Lane
Subject Re: unused local variable
Date
Msg-id 2102.1404572154@sss.pgh.pa.us
Whole thread Raw
In response to unused local variable  (Kevin Grittner <kgrittn@ymail.com>)
Responses Re: unused local variable  (Kevin Grittner <kgrittn@ymail.com>)
List pgsql-hackers
Kevin Grittner <kgrittn@ymail.com> writes:
> Commit 8b6010b8350a1756cd85595705971df81b5ffc07 eliminated the only
> usage of a variable called typeStruct in plpy_spi.c, but left the
> declaration and the code that sets a value for it.� This is
> generating a warning when I build.� I would have just pushed a fix,
> but I was concerned that it might have been left on purpose for
> some follow-on patch. Any objections to the attached, to silence
> the warning?

Huh.  Odd that I did not see such a warning here.  No objection to
removing the dead variable.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: postgresql.auto.conf and reload
Next
From: Tom Lane
Date:
Subject: Re: Allowing join removals for more join types