Removed redundant code

This commit is contained in:
rh101 2021-04-25 02:43:03 +10:00
parent 1238a08662
commit 72bc0bf818
1 changed files with 1 additions and 3 deletions

View File

@ -554,9 +554,7 @@ voidpf ZipFile_open_file_func(voidpf opaque, const char* filename, int mode)
else
return nullptr;
const std::string fsFilename = (char*)filename;
return FileUtils::getInstance()->openFileStream(fsFilename, fsMode);
return FileUtils::getInstance()->openFileStream(filename, fsMode);
}
voidpf ZipFile_opendisk_file_func(voidpf opaque, voidpf stream, uint32_t number_disk, int mode)