Explicitly initialize all of `FileAccess::create_func[ACCESS_MAX]`
(cherry picked from commit 2dae53c316
)
This commit is contained in:
parent
16f3652d10
commit
2042283d32
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue