summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_ui.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-06-17 14:55:32 +0200
committerRobin Gareus <robin@gareus.org>2017-06-17 15:52:03 +0200
commitf77540120c62c5c99d4c4dbac7eb3c2c8e728a3e (patch)
treedc0ea59a361ebe4d5a5b952c056739766f75eea2 /gtk2_ardour/mixer_ui.cc
parentc02a3413e1eb079ea7df5d14da94973c17b8e11c (diff)
Remove Cruft
Diffstat (limited to 'gtk2_ardour/mixer_ui.cc')
-rw-r--r--gtk2_ardour/mixer_ui.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc
index 39ab929c8e..7d2d0885c8 100644
--- a/gtk2_ardour/mixer_ui.cc
+++ b/gtk2_ardour/mixer_ui.cc
@@ -716,9 +716,6 @@ Mixer_UI::sync_presentation_info_from_treeview ()
PresentationInfo::order_t master_key = _session->master_order_key ();
PresentationInfo::order_t order = 0;
- uint32_t count = 0;
-
- TreeOrderKeys sorted;
PresentationInfo::ChangeSuspender cs;
@@ -752,10 +749,7 @@ Mixer_UI::sync_presentation_info_from_treeview ()
stripable->set_presentation_order (order);
change = true;
}
-
- sorted.push_back (TreeOrderKey (count, stripable));
++order;
- ++count;
}
change |= _session->ensure_stripable_sort_order ();