htop icon indicating copy to clipboard operation
htop copied to clipboard

*bsd: mark unreachable code with comment

Open zebastian opened this issue 7 years ago • 2 comments

This may be undesired and the code should be revisited by the maintainers of these two occurances.

zebastian avatar Sep 16 '18 20:09 zebastian

Leaving non-trivial unreachable code there is surely a sign of bugs. It's good to let *BSD port developers look at those. Or do you have the time to bother and fix them?

Explorer09 avatar Sep 29 '18 22:09 Explorer09

both instances seem to be copy paste issues, since there are very similar codes in the other [vendor]/[Vendor]Process.c files. Both dead code is IMHO harmless and can be savely deleted without replacement. However I am not totally sure about it, so i rather would make that up to the maintainers.

zebastian avatar Sep 30 '18 20:09 zebastian