From 4acd63b2efd4b9d5704574c1196aa7b758ef4c0e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 18 Jun 2022 12:37:39 -0600 Subject: [PATCH] fix uninitialized variable (detected with valgrind) --- gtk2_ardour/midi_region_view.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc index f5d3220565..1538161dcb 100644 --- a/gtk2_ardour/midi_region_view.cc +++ b/gtk2_ardour/midi_region_view.cc @@ -129,6 +129,7 @@ MidiRegionView::MidiRegionView (ArdourCanvas::Container* parent, , _last_event_y (0) , _entered (false) , _entered_note (0) + , _pasting (false) , _mouse_changed_selection (false) { CANVAS_DEBUG_NAME (_note_group, string_compose ("note group for %1", get_item_name()));