diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/eom-debug.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eom-debug.c b/src/eom-debug.c index 0523909..4bd8c87 100644 --- a/src/eom-debug.c +++ b/src/eom-debug.c @@ -108,6 +108,7 @@ eom_debug_message (EomDebug section, { #ifdef ENABLE_PROFILING gdouble seconds; + g_return_if_fail (timer != NULL); #endif va_list args; @@ -120,8 +121,6 @@ eom_debug_message (EomDebug section, va_end (args); #ifdef ENABLE_PROFILING - g_return_if_fail (timer != NULL); - seconds = g_timer_elapsed (timer, NULL); g_print ("[%f (%f)] %s:%d (%s) %s\n", seconds, seconds - last, file, line, function, msg); |