summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-05-10 16:36:44 +0200
committerCarl Hetherington <cth@carlh.net>2023-05-10 21:35:46 +0200
commit4b055d1aa3661ba9ec28d425e7692d0adccf02d2 (patch)
tree1ad0967bf4cbf1d2cfb26eb8a91ef528b29beb13
parent8408285c72f330158c40f1c6f4c6fa80b39a6f57 (diff)
Fix uninitialised variable caught by the macOS compiler.
-rw-r--r--src/wx/wx_util.cc2
1 files changed, 1 insertions, 1 deletions
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;