Simplify file_archive_file_list_new

This commit is contained in:
twinaphex 2016-09-20 03:25:34 +02:00
parent c6ab19e59c
commit 14b297b144

View File

@ -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;