Merge pull request #68131 from benbusby/hotfix/zippacker_null_check

Remove `zf != NULL` check from `ZIPPacker::start_file`
This commit is contained in:
Rémi Verschelde 2022-11-02 14:17:07 +01:00
commit 2fd2a04efc
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 0 additions and 1 deletions

View File

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