From 64cd2984ee88c053692a93253345d5c361157e90 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 20 Jul 2009 08:38:34 +0000 Subject: [PATCH] Fix compiler warning when NDEBUG is defined --- panda/src/tinydisplay/msghandling.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/panda/src/tinydisplay/msghandling.cxx b/panda/src/tinydisplay/msghandling.cxx index c5b10614d8..c72c59bf81 100644 --- a/panda/src/tinydisplay/msghandling.cxx +++ b/panda/src/tinydisplay/msghandling.cxx @@ -1,7 +1,10 @@ #include #include +#ifndef NDEBUG +// Question: doesn't having this kinda defeat the purpose? #define NDEBUG +#endif #ifdef NDEBUG #define NO_DEBUG_OUTPUT