Remove unused parameter.
[ardour.git] / libs / ardour / midi_track.cc
index 7d7b51aa7f6dc61513656f5c13b19c57bc246d1e..bf1cd363dc8c25927aaeef05611259487abe0006 100644 (file)
@@ -405,9 +405,9 @@ MidiTrack::roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame
 
 int
 MidiTrack::no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame,
-                   bool state_changing, bool can_record, bool rec_monitors_input)
+                   bool state_changing, bool can_record)
 {
-       int ret = Track::no_roll (nframes, start_frame, end_frame, state_changing, can_record, rec_monitors_input);
+       int ret = Track::no_roll (nframes, start_frame, end_frame, state_changing, can_record);
 
        if (ret == 0 && _step_editing) {
                push_midi_input_to_step_edit_ringbuffer (nframes);
@@ -714,8 +714,6 @@ MidiTrack::set_input_active (bool yn)
 void
 MidiTrack::map_input_active (bool yn)
 {
-       bool changed = false;
-
        if (!_input) {
                return;
        }
@@ -726,7 +724,6 @@ MidiTrack::map_input_active (bool yn)
                MidiPort* mp = dynamic_cast<MidiPort*> (&*p);
                if (yn != mp->input_active()) {
                        mp->set_input_active (yn);
-                       changed = true;
                }
        }
 }