Re: Switch -Wunused-variable on?

Sergio Durigan Junior
2012-04-23T15:49:27Z

On Monday, April 23 2012, Tom Tromey wrote:

> I'd say that the best approach would be to make the declarations
> conditional in the same way that the uses are.
>
> If there are a lot of problem cases with this approach, or if it makes
> the code too ugly, then maybe it would be better just not to use this
> flag.

Ok, that makes sense to me. Since there are tons of places with unused
variables in the code, I will take some time to look and convert the
proper places to use this solution.

Thanks!

--
Sergio