From ec3a4e219b0ca86b88b74e96448998d2ec044429 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 21 Dec 2016 01:41:16 +0100 Subject: [PATCH] Silence Coverity warning --- menu/menu_displaylist.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index ea90082e0b..a8bb04d181 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -3319,7 +3319,6 @@ static int menu_displaylist_parse_cores( enum menu_displaylist_ctl_state type) { size_t i, list_size; - bool filter_ext = true; struct string_list *str_list = NULL; unsigned items_found = 0; settings_t *settings = config_get_ptr(); @@ -3332,8 +3331,7 @@ static int menu_displaylist_parse_cores( return 0; } - str_list = dir_list_new(info->path, - filter_ext ? info->exts : NULL, + str_list = dir_list_new(info->path, info->exts, true, settings->show_hidden_files, true, false);