diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index 13b20aee2e8e7f..6d9b39ce6b2b07 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -1546,7 +1546,7 @@ String EditorExportPlatformAndroid::load_splash_refs(Ref &splash_image, R String project_splash_path = GLOBAL_GET("application/boot_splash/image"); // Setup the splash bg color - bool bg_color_valid; + bool bg_color_valid = false; Color bg_color = ProjectSettings::get_singleton()->get("application/boot_splash/bg_color", &bg_color_valid); if (!bg_color_valid) { bg_color = boot_splash_bg_color;