Remove redundant debug code.
Protect a printf with #ifdef DEBUG