fixed unused var warning in debug.c