From be45193f3f993b4449a215e2a2b0a53b5e9616c5 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 29 Jan 2020 12:37:49 -0700 Subject: [PATCH] fix old bug from 2007 (bbf4175713) in which a return statement was accidentally (presumably) dropped --- gtk2_ardour/route_time_axis.cc | 3 +-- 1 file changed, 1 insertion(+), 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 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 if ((pan = find_processor_automation_node (processor, what)) != 0) { if (pan->view) { - pan->view->line(); + return pan->view->line(); } }