looking for dead code removal
I'm new to C programming, and my first task is to modify some code that was apparently written by a really lazy guy. It looks like about half the code is dead, and I could really use a little free utility to go through the source and highlight the dead code. Has anyone seen that?
This is something you could try
Most C/C++ Compilers highlight code that is not run, and variables that are initialised, but never used.
Even compilers as old as Turbo C 1.02 warn you if a variable is intialised and not used.
It would be a good idea to load the code with a new-ish compiler and look at all of the errors and warnings that it finds. Then you can work through and eradicate each problem, one by one. When you finish, the code will have all of the "dead" stuff removed.