From 4b055d1aa3661ba9ec28d425e7692d0adccf02d2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 10 May 2023 16:36:44 +0200 Subject: [PATCH] Fix uninitialised variable caught by the macOS compiler. --- src/wx/wx_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index f36bcdf25..6803a8f6c 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -540,7 +540,7 @@ setup_audio_channels_choice (wxChoice* choice, int minimum) wxSplashScreen* maybe_show_splash () { - wxSplashScreen* splash; + wxSplashScreen* splash = nullptr; try { wxBitmap bitmap; -- 2.30.2