Explicitly initialize all of `FileAccess::create_func[ACCESS_MAX]`

(cherry picked from commit 2dae53c316)
This commit is contained in:
scgm0 2024-01-20 06:31:48 +08:00 committed by Rémi Verschelde
parent 16f3652d10
commit 2042283d32
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -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;