Fix uninitialised variable caught by the macOS compiler.
authorCarl Hetherington <cth@carlh.net>
Wed, 10 May 2023 14:36:44 +0000 (16:36 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 10 May 2023 19:35:46 +0000 (21:35 +0200)
src/wx/wx_util.cc

index f36bcdf25a3dfe86c6c52045419e3ed880ffea9c..6803a8f6c1603245bed7be8aefad8cacdaf1d9fd 100644 (file)
@@ -540,7 +540,7 @@ setup_audio_channels_choice (wxChoice* choice, int minimum)
 wxSplashScreen*
 maybe_show_splash ()
 {
-       wxSplashScreen* splash;
+       wxSplashScreen* splash = nullptr;
 
        try {
                wxBitmap bitmap;