summaryrefslogtreecommitdiff
path: root/libs/ardour/session_transport.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-01-22 11:15:45 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2020-01-23 14:25:38 -0700
commit3f4021c4eae481811696d20f6b95aaf0f93062b1 (patch)
tree29fb37a68e4ccc75982604f80428f022a58e9ea5 /libs/ardour/session_transport.cc
parentc8faadee4b467868d1b49b80a6604e2cc72e3068 (diff)
variable not used without debug mode
Diffstat (limited to 'libs/ardour/session_transport.cc')
-rw-r--r--libs/ardour/session_transport.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc
index 6f23b67047..ac8dcff754 100644
--- a/libs/ardour/session_transport.cc
+++ b/libs/ardour/session_transport.cc
@@ -1129,7 +1129,9 @@ Session::butler_transport_work ()
int on_entry = g_atomic_int_get (&_butler->should_do_transport_work);
bool finished = true;
PostTransportWork ptw = post_transport_work();
+#ifndef NDEBUG
uint64_t before;
+#endif
DEBUG_TRACE (DEBUG::Transport, string_compose ("Butler transport work, todo = [%1] (0x%3%4%5) at %2\n", enum_2_string (ptw), (before = g_get_monotonic_time()), std::hex, ptw, std::dec));