[RFA 5/6] Remove unused variables
Maciej W. Rozycki
macro@imgtec.com
Mon Jul 25 13:36:00 GMT 2016
On Wed, 20 Jul 2016, Tom Tromey wrote:
> Maciej> Of course one could argue that keeping broken code (though in a manner
> Maciej> harmless to irrelevant cases) has little value, but at least it serves as
> Maciej> a reminder to do something about it sometime.
>
> I think on the whole it's preferable to file a bug for such cases; or to
> comment out the offending code and put in an explanation. The warnings
> catch real bugs; but they are not as useful if they are noisy.
Good point, I have filed PR tdep/20406 to track this issue.
Maciej
More information about the Gdb-patches
mailing list