From c5c865f5894ec3af99d24c311cb32b21fc85bf6e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 17 Oct 2024 15:06:04 -0600 Subject: [PATCH] fix potentially unset variable (thanks clang!) --- gtk2_ardour/midi_view.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/midi_view.cc b/gtk2_ardour/midi_view.cc index 06a8d3506a..02f8a5e9ef 100644 --- a/gtk2_ardour/midi_view.cc +++ b/gtk2_ardour/midi_view.cc @@ -1673,6 +1673,7 @@ bool MidiView::note_in_region_range (const std::shared_ptr note, bool& visible) const { if (!_midi_region) { + visible = true; return true; }