mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 09:27:39 +01:00
minor tweaks to use initialization rather than assignment
This commit is contained in:
parent
192a8b7ec0
commit
b648b3a4b4
1 changed files with 4 additions and 8 deletions
|
|
@ -1169,19 +1169,15 @@ Session::butler_transport_work ()
|
|||
{
|
||||
/* Note: this function executes in the butler thread context */
|
||||
|
||||
restart:
|
||||
bool finished;
|
||||
PostTransportWork ptw;
|
||||
restart:
|
||||
boost::shared_ptr<RouteList> r = routes.reader ();
|
||||
int on_entry = g_atomic_int_get (&_butler->should_do_transport_work);
|
||||
bool finished = true;
|
||||
PostTransportWork ptw = post_transport_work();
|
||||
uint64_t before;
|
||||
|
||||
int on_entry = g_atomic_int_get (&_butler->should_do_transport_work);
|
||||
finished = true;
|
||||
ptw = post_transport_work();
|
||||
|
||||
DEBUG_TRACE (DEBUG::Transport, string_compose ("Butler transport work, todo = %1 at %2\n", enum_2_string (ptw), (before = g_get_monotonic_time())));
|
||||
|
||||
|
||||
if (ptw & PostTransportLocate) {
|
||||
|
||||
if (get_play_loop() && !Config->get_seamless_loop()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue