13
0

Fix compiler warning of unused variable.

This commit is contained in:
André Nusser 2017-05-12 11:51:58 +02:00 committed by Robin Gareus
parent 40f3efa3aa
commit 77a2632e34

View File

@ -2081,7 +2081,6 @@ MidiRegionView::change_patch_change (MidiModel::PatchChangePtr old_change, const
void
MidiRegionView::add_patch_change (framecnt_t t, Evoral::PatchChange<Evoral::Beats> const & patch)
{
MidiTimeAxisView* const mtv = dynamic_cast<MidiTimeAxisView*>(&trackview);
string name = _("add patch change");
trackview.editor().begin_reversible_command (name);