From: Carl Hetherington Date: Wed, 10 May 2023 14:36:44 +0000 (+0200) Subject: Fix uninitialised variable caught by the macOS compiler. X-Git-Tag: v2.16.56~23 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=4b055d1aa3661ba9ec28d425e7692d0adccf02d2 Fix uninitialised variable caught by the macOS compiler. --- 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;