fix inconsequential debug-trace garbage value report from clang

This commit is contained in:
Paul Davis 2022-01-20 13:39:13 -07:00
parent ee5d3da929
commit 02f4daffe4

View File

@ -1120,10 +1120,10 @@ Session::butler_transport_work (bool have_process_lock)
bool finished = true;
PostTransportWork ptw = post_transport_work();
#ifndef NDEBUG
uint64_t before;
uint64_t before = g_get_monotonic_time();
#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));
DEBUG_TRACE (DEBUG::Transport, string_compose ("Butler transport work, todo = [%1] (0x%3%4%5) at %2\n", enum_2_string (ptw), before, std::hex, ptw, std::dec));
if (ptw & PostTransportAdjustPlaybackBuffering) {
/* need to prevent concurrency with ARDOUR::Reader::run(),