Fix compiler warning when NDEBUG is defined

This commit is contained in:
rdb 2009-07-20 08:38:34 +00:00
parent b664665a1c
commit 64cd2984ee

View File

@ -1,7 +1,10 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#ifndef NDEBUG
// Question: doesn't having this kinda defeat the purpose?
#define NDEBUG #define NDEBUG
#endif
#ifdef NDEBUG #ifdef NDEBUG
#define NO_DEBUG_OUTPUT #define NO_DEBUG_OUTPUT