mirror of https://github.com/axmolengine/axmol.git
Removed redundant code
This commit is contained in:
parent
1238a08662
commit
72bc0bf818
|
@ -554,9 +554,7 @@ voidpf ZipFile_open_file_func(voidpf opaque, const char* filename, int mode)
|
||||||
else
|
else
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
const std::string fsFilename = (char*)filename;
|
return FileUtils::getInstance()->openFileStream(filename, fsMode);
|
||||||
|
|
||||||
return FileUtils::getInstance()->openFileStream(fsFilename, fsMode);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
voidpf ZipFile_opendisk_file_func(voidpf opaque, voidpf stream, uint32_t number_disk, int mode)
|
voidpf ZipFile_opendisk_file_func(voidpf opaque, voidpf stream, uint32_t number_disk, int mode)
|
||||||
|
|
Loading…
Reference in New Issue