summaryrefslogtreecommitdiffstats
path: root/core/io/file_access.cpp
diff options
context:
space:
mode:
authorscgm0 <2682963017@qq.com>2024-01-20 06:31:48 +0800
committerRémi Verschelde <rverschelde@gmail.com>2024-01-31 10:46:14 +0100
commit2dae53c316493899736e42e3a38fb8190006adc8 (patch)
treec87e56e211e3728b2e876dd2c5f7f6400574d8f5 /core/io/file_access.cpp
parent313f623b9d102cc8c411ae7cab9518f98c2f87f2 (diff)
downloadredot-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.cpp2
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;