diff options
author | scgm0 <2682963017@qq.com> | 2024-01-20 06:31:48 +0800 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-31 10:46:14 +0100 |
commit | 2dae53c316493899736e42e3a38fb8190006adc8 (patch) | |
tree | c87e56e211e3728b2e876dd2c5f7f6400574d8f5 /core/io/file_access.cpp | |
parent | 313f623b9d102cc8c411ae7cab9518f98c2f87f2 (diff) | |
download | redot-engine-2dae53c316493899736e42e3a38fb8190006adc8.tar.gz |
Explicitly initialize all of `FileAccess::create_func[ACCESS_MAX]`
Diffstat (limited to 'core/io/file_access.cpp')
-rw-r--r-- | core/io/file_access.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/file_access.cpp b/core/io/file_access.cpp index 6026dbf896..55286277fa 100644 --- a/core/io/file_access.cpp +++ b/core/io/file_access.cpp @@ -38,7 +38,7 @@ #include "core/io/marshalls.h" #include "core/os/os.h" -FileAccess::CreateFunc FileAccess::create_func[ACCESS_MAX] = { nullptr, nullptr }; +FileAccess::CreateFunc FileAccess::create_func[ACCESS_MAX] = {}; FileAccess::FileCloseFailNotify FileAccess::close_fail_notify = nullptr; |