Thread: Unused parameter in vacuum.c

Unused parameter in vacuum.c

From
Shigeru HANADA
Date:
Hi,

When I was reading vacuum.c, I found that the parameter 'stmttype' of
get_rel_oids() is not used at all.  The parameter had been used as
command tag in the notice message about "invalid object type", but now
such messages are reported by other functions.

Please find attached remove-unused-parameter patch.

Regards,
--
Shigeru Hanada

Attachment

Re: Unused parameter in vacuum.c

From
Heikki Linnakangas
Date:
On 18.11.2010 08:12, Shigeru HANADA wrote:
> When I was reading vacuum.c, I found that the parameter 'stmttype' of
> get_rel_oids() is not used at all.  The parameter had been used as
> command tag in the notice message about "invalid object type", but now
> such messages are reported by other functions.
>
> Please find attached remove-unused-parameter patch.

Thanks, applied.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com