Skip to content

Commit

Permalink
Fix crash when opening a ZIP data pack
Browse files Browse the repository at this point in the history
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
  • Loading branch information
Calinou and bruvzg committed Sep 19, 2020
1 parent 7fff7b8 commit 0b65342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/io/file_access_zip.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class ZipArchive : public PackSource {
};

class FileAccessZip : public FileAccess {
unzFile zfile;
unzFile zfile = nullptr;
unz_file_info64 file_info;

mutable bool at_eof;
Expand Down

0 comments on commit 0b65342

Please sign in to comment.