View Single Post
  #8 (permalink)  
Old 10-12-2005, 01:30 PM
Jan Vorbrüggen
Guest
 
Posts: n/a
Default 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...

Jan
Reply With Quote