Bug 103 - Remove #ifdef DEBUG, #if 0, #if 1
: Remove #ifdef DEBUG, #if 0, #if 1
Status: NEW
Product: TORQUE
libtorque
: 2.4.x
: PC Linux
: P5 normal
Assigned To: Glen
:
:
:
  Show dependency treegraph
 
Reported: 2010-12-06 08:42 MST by Simon Toth
Modified: 2010-12-07 07:34 MST (History)
1 user (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Simon Toth 2010-12-06 08:42:39 MST
Looking at the code, all instances of #ifdef DEBUG (except for schedulers) seem
to be some old extra logging code, that either can be removed or added into
normal logging.

All #if 0, #if 1 should be cleaned up, since they just pollute the code.
Comment 1 Glen 2010-12-07 07:34:30 MST
I agree, I think there is quite a bit of code cleanup that needs to happen.