summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-02 14:17:07 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-02 14:17:07 +0100
commit2fd2a04efc3aba56d27a1a71d6d3a999d2ce9f69 (patch)
tree45ff580630d0d29f5e69bfaed9ab583b7804ea8a /modules
parentb31140cdb9f41b040e16f76e65886b5bd0b29b58 (diff)
parent3b37f50e50090a8869f663d428b21e8b333a00e3 (diff)
Merge pull request #68131 from benbusby/hotfix/zippacker_null_check
Remove `zf != NULL` check from `ZIPPacker::start_file`
Diffstat (limited to 'modules')
-rw-r--r--modules/zip/zip_packer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/zip/zip_packer.cpp b/modules/zip/zip_packer.cpp
index c37fc0945e..e62700f191 100644
--- a/modules/zip/zip_packer.cpp
+++ b/modules/zip/zip_packer.cpp
@@ -50,7 +50,6 @@ Error ZIPPacker::close() {
}
Error ZIPPacker::start_file(String p_path) {
- ERR_FAIL_COND_V_MSG(zf != NULL, FAILED, "ZIPPacker is already in use.");
ERR_FAIL_COND_V_MSG(fa.is_null(), FAILED, "ZIPPacker must be opened before use.");
zip_fileinfo zipfi;