diff options
Diffstat (limited to 'src/fs/virtfs/fszip.cpp')
-rw-r--r-- | src/fs/virtfs/fszip.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fs/virtfs/fszip.cpp b/src/fs/virtfs/fszip.cpp index 148df66fc..fcb726173 100644 --- a/src/fs/virtfs/fszip.cpp +++ b/src/fs/virtfs/fszip.cpp @@ -557,10 +557,9 @@ namespace FsZip ZipReader::readFile(header); if (buf == nullptr) return nullptr; - File *restrict const file = new File(&funcs, + return new File(&funcs, buf, header->uncompressSize); - return file; } } return nullptr; |