Skip to content

Commit

Permalink
Merge pull request #87389 from scgm0/file_access_1
Browse files Browse the repository at this point in the history
Explicitly initialize all of `FileAccess::create_func[ACCESS_MAX]`
  • Loading branch information
akien-mga committed Jan 31, 2024
2 parents eb105b9 + 2dae53c commit 51f7174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/io/file_access.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 51f7174

Please sign in to comment.