From 14b297b1440a763f6a79f32647003a7c20dce2c9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 20 Sep 2016 03:25:34 +0200 Subject: [PATCH] Simplify file_archive_file_list_new --- libretro-common/file/archive_file.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libretro-common/file/archive_file.c b/libretro-common/file/archive_file.c index 0464ffbfab..f49f4144fc 100644 --- a/libretro-common/file/archive_file.c +++ b/libretro-common/file/archive_file.c @@ -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;