Merge branch 'miscfix' of https://github.com/mojofunk/ardour
[ardour.git] / gtk2_ardour / editor_ops.cc
index b70d0f06647ec4088b86be5c501061515b7091ad..6ada12220a7ba859cae4f9a13935af16f5bf9287 100644 (file)
@@ -2108,7 +2108,7 @@ Editor::transition_to_rolling (bool fwd)
 
        if (_session->config.get_external_sync()) {
                switch (Config->get_sync_source()) {
-               case JACK:
+               case Engine:
                        break;
                default:
                        /* transport controlled by the master */
@@ -6950,7 +6950,7 @@ Editor::uncombine_regions ()
 void
 Editor::toggle_midi_input_active (bool flip_others)
 {
-       bool onoff;
+       bool onoff = false;
        boost::shared_ptr<RouteList> rl (new RouteList);
 
        for (TrackSelection::iterator i = selection->tracks.begin(); i != selection->tracks.end(); ++i) {