Eliminate 50+ lines of dead code
This task involves reducing source code by 50 or more lines by eliminating undocumented dead or otherwise unreachable code. You can use the sources to BRL-CAD, LibreCAD, or BRL-CAD's Online Geometry Viewer. You can use whatever method you like to identify duplication, but beware that you are not likely going to find duplication just by browsing.
With any large body of code, one inevitably ends up with a mix of code that is commented or if 0'd out.. Sometimes there is a comment saying why the code is off, sometimes it does not. Look for the latter.
Download the latest source code from repository and make sure you can compile:
- For BRL-CAD: http://brlcad.org/wiki/Building_from_SVN
- For LibreCAD: https://github.com/LibreCAD/LibreCAD
- For OGV: https://github.com/BRL-CAD/OGV-meteor
Then you can run whatever method you like to find sources of undocumented dead code. Remove the dead code then make sure code still compiles and works.
SUBMIT your changes as a patch file or pull request.
Feel free to join IRC or a developer mailing list to discuss your changes beforehand.