diff --git a/gtk2_ardour/midi_tracer.cc b/gtk2_ardour/midi_tracer.cc index e89ff3926c..e0c35e301c 100644 --- a/gtk2_ardour/midi_tracer.cc +++ b/gtk2_ardour/midi_tracer.cc @@ -247,8 +247,6 @@ MidiTracer::port_changed () return; } - std::shared_ptr mp = std::dynamic_pointer_cast (p); - /* The inheritance hierarchy makes this messy. AsyncMIDIPort has two * available MIDI::Parsers what we could connect to, ::self_parser() * (from ARDOUR::MidiPort) and ::parser() from MIDI::Port. One day,