diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-04 06:02:00 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-04 06:02:00 -0400 |
commit | b848ace76866188701a6a704a9531c4eeb2bc71a (patch) | |
tree | 6fdb3e1cf8a8239c89c03907447a08402bef391b /src/utils.h | |
parent | f16a5382ed9a9750c69595e5752f80e39cf7a4b8 (diff) | |
download | fork-ledger-b848ace76866188701a6a704a9531c4eeb2bc71a.tar.gz fork-ledger-b848ace76866188701a6a704a9531c4eeb2bc71a.tar.bz2 fork-ledger-b848ace76866188701a6a704a9531c4eeb2bc71a.zip |
Allow opt -NDEBUG build to complete without warnings
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 8 |
1 files changed, 4 insertions, 4 deletions
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) |