diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-04-04 21:24:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-04 21:24:27 +0200 |
commit | 1abb5ebf6532944a9fd0d1acf9ad61a0df1bb0ed (patch) | |
tree | a9d2df2e2df939c189135b1c36a01e06b37b80b2 /platform/android | |
parent | 53317bbe146dd19a919685df8d846c55568daba1 (diff) | |
parent | f8ab79e68af20e18e1d868b64d6dfd0c429bc554 (diff) |
Merge pull request #59867 from akien-mga/refactor-zero-initialize-all-pointers
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/os_android.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/android/os_android.h b/platform/android/os_android.h index 48239b3f84..a40e17dc2c 100644 --- a/platform/android/os_android.h +++ b/platform/android/os_android.h @@ -52,7 +52,7 @@ private: #endif #if defined(VULKAN_ENABLED) - ANativeWindow *native_window; + ANativeWindow *native_window = nullptr; #endif mutable String data_dir_cache; @@ -60,10 +60,10 @@ private: AudioDriverOpenSL audio_driver_android; - MainLoop *main_loop; + MainLoop *main_loop = nullptr; - GodotJavaWrapper *godot_java; - GodotIOJavaWrapper *godot_io_java; + GodotJavaWrapper *godot_java = nullptr; + GodotIOJavaWrapper *godot_io_java = nullptr; public: static const char *ANDROID_EXEC_PATH; |