mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 04:09:29 +01:00
fix old bug from 2007 (bbf4175713) in which a return statement was accidentally (presumably) dropped
This commit is contained in:
parent
7e6427e667
commit
be45193f3f
1 changed files with 1 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue