summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-12 16:41:52 +0100
committerDavid Robillard <d@drobilla.net>2017-02-12 16:41:52 +0100
commit3603e1b50b2df319d24b8665457133e961831ad1 (patch)
tree01db451f790d1c73b9e43dfa385af03e19467e64 /src
parentb1198f0842e6e4d6b1c01f07d91b42ef4a212788 (diff)
downloadingen-3603e1b50b2df319d24b8665457133e961831ad1.tar.gz
ingen-3603e1b50b2df319d24b8665457133e961831ad1.tar.bz2
ingen-3603e1b50b2df319d24b8665457133e961831ad1.zip
Fix warning during optimized build
Diffstat (limited to 'src')
-rw-r--r--src/server/PreProcessor.cpp2
1 files changed, 1 insertions, 1 deletions
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<int32_t>()) {
const uint64_t start = engine.cycle_start_time(context);
const uint64_t end = engine.current_time(context);