Thread: Unused variable in explain.c

Unused variable in explain.c

From
Alvaro Herrera
Date:
Hackers,

This trivial patch removes the unused variable printCost from
ExplainState.  This variable is defined to true initially and never
changed; it's only clutter, I think.  And I've never seen EXPLAIN output
without the cost.

--
Alvaro Herrera (<alvherre[a]surnet.cl>)
"And as an added bonus, now my computer goes to the toilet for me, leaving me
free to spend time on more useful activities! yay slug codefests!" (C. Parker)

Attachment

Re: Unused variable in explain.c

From
Neil Conway
Date:
Alvaro Herrera wrote:
> This trivial patch removes the unused variable printCost from
> ExplainState.  This variable is defined to true initially and never
> changed; it's only clutter, I think.  And I've never seen EXPLAIN output
> without the cost.

Applied, thanks.

-Neil