diff --git a/menu/cbs/menu_entries_cbs_scan.c b/menu/cbs/menu_entries_cbs_scan.c index 1a1f465cca..87b9d475a0 100644 --- a/menu/cbs/menu_entries_cbs_scan.c +++ b/menu/cbs/menu_entries_cbs_scan.c @@ -66,9 +66,11 @@ static int menu_entries_cbs_init_bind_scan_compare_type(menu_file_list_cbs_t *cb case MENU_FILE_DIRECTORY: cbs->action_scan = action_scan_directory; break; - default: + case MENU_FILE_PLAIN: cbs->action_scan = action_scan_file; break; + default: + return -1; } return 0;