Re: warning about redundant lines of code
> Are there any compilers that warn about such a redundant line? Do you
> think it would be useful to get such warnings?
Well, current compilers are pretty good at eliminating dead code...so
it's not a performance issue in many - most? - cases. Improving the
maintainability of code might be another reason, although if you need
that, it seem to me your code is in pretty bad shape already...