From 8880e1b92983e784a2cfcf11eb35d78134a18adb Mon Sep 17 00:00:00 2001 From: Steve Daulton Date: Wed, 3 Oct 2018 21:08:27 +0100 Subject: [PATCH] Fix missing initialization from a17af37 --- src/Menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Menus.cpp b/src/Menus.cpp index f38e6f5f5..65865833f 100644 --- a/src/Menus.cpp +++ b/src/Menus.cpp @@ -4818,7 +4818,7 @@ bool MenuCommandHandler::DoEffect( auto nTracksOriginally = project.GetTrackCount(); wxWindow *focus = wxWindow::FindFocus(); - wxWindow *parent; + wxWindow *parent = nullptr; if (focus != nullptr) { parent = focus->GetParent(); }