From b848ace76866188701a6a704a9531c4eeb2bc71a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 4 Jun 2010 06:02:00 -0400 Subject: Allow opt -NDEBUG build to complete without warnings --- src/utils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index a0c3f49f..24f424b7 100644 --- a/src/utils.h +++ b/src/utils.h @@ -434,8 +434,8 @@ void finish_timer(const char * name); (SHOW_TRACE(lvl) ? ledger::finish_timer(#name) : ((void)0)) #else #define TRACE_START(name, lvl, msg) -#define TRACE_STOP(name) -#define TRACE_FINISH(name) +#define TRACE_STOP(name, lvl) +#define TRACE_FINISH(name, lvl) #endif #if defined(DEBUG_ON) @@ -474,8 +474,8 @@ void finish_timer(const char * name); #else // ! (LOGGING_ON && TIMERS_ON) #define TRACE_START(lvl, msg, name) -#define TRACE_STOP(name) -#define TRACE_FINISH(name) +#define TRACE_STOP(name, lvl) +#define TRACE_FINISH(name, lvl) #define DEBUG_START(name, msg) #define DEBUG_START_(name, cat, msg) -- cgit v1.2.3