From 77a2632e342801aee3836ce0bf59f7e639fd42e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Fri, 12 May 2017 11:51:58 +0200 Subject: [PATCH] Fix compiler warning of unused variable. --- gtk2_ardour/midi_region_view.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc index 0193bc04d4..a89a5018c7 100644 --- a/gtk2_ardour/midi_region_view.cc +++ b/gtk2_ardour/midi_region_view.cc @@ -2081,7 +2081,6 @@ MidiRegionView::change_patch_change (MidiModel::PatchChangePtr old_change, const void MidiRegionView::add_patch_change (framecnt_t t, Evoral::PatchChange const & patch) { - MidiTimeAxisView* const mtv = dynamic_cast(&trackview); string name = _("add patch change"); trackview.editor().begin_reversible_command (name);