From faeaf14e3b4b4b7600719e3ffea2e003487add26 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 25 Oct 2019 07:51:54 -0600 Subject: [PATCH] fix deletion/pointer error Not sure why the now deleted hack was ever necessary for the compiler --- gtk2_ardour/startup_fsm.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk2_ardour/startup_fsm.cc b/gtk2_ardour/startup_fsm.cc index d1951ec295..ad0cf7e8d2 100644 --- a/gtk2_ardour/startup_fsm.cc +++ b/gtk2_ardour/startup_fsm.cc @@ -225,8 +225,7 @@ StartupFSM::dialog_response_handler (int response, StartupFSM::DialogID dialog_i /* any response value from the pre-release dialog means "move along now" */ - Gtk::Widget* w = pre_release_dialog; - end_dialog (&w); + end_dialog (&pre_release_dialog); if (NewUserWizard::required()) { show_new_user_dialog ();