(menu_displaylist.c) Cleanups

This commit is contained in:
twinaphex 2015-06-06 00:01:44 +02:00
parent 61beed6ddb
commit fc9f51b041

View File

@ -1310,12 +1310,8 @@ static void menu_displaylist_push_horizontal_menu_list_content(
file_list_t *list, core_info_t *info, const char* path)
{
unsigned j;
struct string_list *str_list = NULL;
if (!info)
return;
str_list = dir_list_new(path, info->supported_extensions, true);
struct string_list *str_list =
dir_list_new(path, info->supported_extensions, true);
if (!str_list)
return;