From 3603e1b50b2df319d24b8665457133e961831ad1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Feb 2017 16:41:52 +0100 Subject: Fix warning during optimized build --- src/server/PreProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/PreProcessor.cpp') diff --git a/src/server/PreProcessor.cpp b/src/server/PreProcessor.cpp index 4e2ac364..11037d84 100644 --- a/src/server/PreProcessor.cpp +++ b/src/server/PreProcessor.cpp @@ -140,8 +140,8 @@ PreProcessor::process(RunContext& context, PostProcessor& dest, size_t limit) } if (n_processed > 0) { - Engine& engine = context.engine(); #ifndef NDEBUG + Engine& engine = context.engine(); if (engine.world()->conf().option("trace").get()) { const uint64_t start = engine.cycle_start_time(context); const uint64_t end = engine.current_time(context); -- cgit v1.2.1