Fix uninitialised variable caught by the macOS compiler.
[dcpomatic.git] / 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;