mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Simplify file_archive_file_list_new
This commit is contained in:
parent
c6ab19e59c
commit
14b297b144
@ -684,9 +684,7 @@ struct string_list *file_archive_file_list_new(const char *path,
|
||||
const char* ext)
|
||||
{
|
||||
#ifdef HAVE_COMPRESSION
|
||||
bool compressed = path_is_compressed_file(path);
|
||||
|
||||
if (compressed)
|
||||
if (path_is_compressed_file(path))
|
||||
return file_archive_get_file_list(path, ext);
|
||||
#endif
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user