diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-04-28 11:04:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-28 11:04:05 +0200 |
commit | 305b2a15bf1ed950e8e2ed50fa84456b584798fb (patch) | |
tree | abaa1e01ca34382f4ea1d6e24c403ecff1502f39 /core/io/file_access_zip.cpp | |
parent | 7bca90769cbf7ae29023ca8d83ba7ab3137deda3 (diff) | |
parent | 8247667a3ee0d86f26094e722497b0cbb99cc12b (diff) |
Merge pull request #48239 from akien-mga/goodbye-copymem
Core: Drop custom `copymem`/`zeromem` defines
Diffstat (limited to 'core/io/file_access_zip.cpp')
-rw-r--r-- | core/io/file_access_zip.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/io/file_access_zip.cpp b/core/io/file_access_zip.cpp index 586c988974..397b577612 100644 --- a/core/io/file_access_zip.cpp +++ b/core/io/file_access_zip.cpp @@ -32,7 +32,6 @@ #include "file_access_zip.h" -#include "core/os/copymem.h" #include "core/os/file_access.h" ZipArchive *ZipArchive::instance = nullptr; @@ -120,7 +119,7 @@ unzFile ZipArchive::get_file_handle(String p_file) const { ERR_FAIL_COND_V_MSG(!f, nullptr, "Cannot open file '" + packages[file.package].filename + "'."); zlib_filefunc_def io; - zeromem(&io, sizeof(io)); + memset(&io, 0, sizeof(io)); io.opaque = f; io.zopen_file = godot_open; |