[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] remove unused variables



> There were two kinds of unused but set variables:
>  - the really pointless ones
>  - the ones whose only purpose was to silence the warnings
>     about ignoring the return values from functions declared with
>     __attribute__((__warn_unused_result__))
> Since gcc 4.5 the warnings can be disabled using -Wno-unused-result,
> so the variables are no longer necessary.
> Then -Wno-unused-but-set-variable is an overkill, so drop it.

Thanks for the patch.  Pushed.

- Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]