summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-01-29 12:37:49 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2020-02-05 12:53:15 -0700
commitbe45193f3f993b4449a215e2a2b0a53b5e9616c5 (patch)
tree8f8d5cbe591d40435e414762bba65e2764619f90 /gtk2_ardour/route_time_axis.cc
parent7e6427e667109194dc8041a7268c3eb4d45f5bcd (diff)
fix old bug from 2007 (bbf4175713) in which a return statement was accidentally (presumably) dropped
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index 274553f6b4..8bd0b8f440 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -2054,7 +2054,6 @@ RouteTimeAxisView::add_existing_processor_automation_curves (boost::weak_ptr<Pro
boost::shared_ptr<AutomationLine> al;
if ((al = find_processor_automation_curve (processor, param)) != 0) {
-#warning NOT REACHED -- bug?
al->queue_reset ();
} else {
add_processor_automation_curve (processor, param);
@@ -2269,7 +2268,7 @@ RouteTimeAxisView::find_processor_automation_curve (boost::shared_ptr<Processor>
if ((pan = find_processor_automation_node (processor, what)) != 0) {
if (pan->view) {
- pan->view->line();
+ return pan->view->line();
}
}