'Route::tape_drive_controllable()' needs to return something
authorJohn Emmas <johne53@tiscali.co.uk>
Sat, 21 Oct 2017 10:23:05 +0000 (11:23 +0100)
committerJohn Emmas <johne53@tiscali.co.uk>
Sat, 21 Oct 2017 10:23:05 +0000 (11:23 +0100)
libs/ardour/route.cc

index 4636d7957c333e3c9e4a67a330ff2105afdccbb9..df708bbd30be78cca1dff6f36ec686e7e95b4423 100644 (file)
@@ -5428,9 +5428,9 @@ Route::tape_drive_controllable () const
        if ( _ch_pre && (is_master() || mixbus()) ) {
                return boost::dynamic_pointer_cast<ARDOUR::AutomationControl> (_ch_pre->control (Evoral::Parameter (ARDOUR::PluginAutomation, 0, 4)));
        }
+#endif
 
        return boost::shared_ptr<AutomationControl>();
-#endif
 }
 
 string