mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(Menu) remove unused variables
This commit is contained in:
parent
29e3f5ff66
commit
2fe58d1ea6
@ -118,9 +118,7 @@ static int action_ok_file_load_with_detect_core_carchive(
|
||||
const char *path,
|
||||
const char *label, unsigned type, size_t idx)
|
||||
{
|
||||
int ret;
|
||||
menu_displaylist_info_t info = {0};
|
||||
const char *menu_path = NULL;
|
||||
uint32_t hash_label = djb2_calculate(label);
|
||||
|
||||
strlcat(detect_content_path, "#", sizeof(detect_content_path));
|
||||
@ -132,9 +130,7 @@ static int action_ok_file_load_with_detect_core_carchive(
|
||||
static int action_ok_file_load_with_detect_core(const char *path,
|
||||
const char *label, unsigned type, size_t idx)
|
||||
{
|
||||
int ret;
|
||||
menu_displaylist_info_t info = {0};
|
||||
const char *menu_path = NULL;
|
||||
uint32_t hash_label = djb2_calculate(label);
|
||||
|
||||
return rarch_defer_core_wrapper(&info, idx, path, hash_label, false);
|
||||
|
@ -775,7 +775,6 @@ static void xmb_set_title(xmb_handle_t *xmb)
|
||||
menu_entries_get_title(xmb->title_name, sizeof(xmb->title_name));
|
||||
else
|
||||
{
|
||||
global_t *global = global_get_ptr();
|
||||
struct item_file *item = (struct item_file*)&xmb->horizontal_list->list[menu->categories.selection_ptr - 1];
|
||||
|
||||
if (!item)
|
||||
@ -1416,7 +1415,6 @@ static void xmb_frame(void)
|
||||
|
||||
static void xmb_init_horizontal_list(menu_handle_t *menu, xmb_handle_t *xmb)
|
||||
{
|
||||
unsigned i;
|
||||
menu_displaylist_info_t info = {0};
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
@ -1436,6 +1434,7 @@ static void xmb_init_horizontal_list(menu_handle_t *menu, xmb_handle_t *xmb)
|
||||
menu_displaylist_push_list(&info, DISPLAYLIST_DATABASE_PLAYLISTS);
|
||||
|
||||
#if 0
|
||||
unsigned i;
|
||||
unsigned end = file_list_get_size(xmb->horizontal_list);
|
||||
|
||||
for (i = 0; i < end; i++)
|
||||
|
@ -1331,7 +1331,6 @@ static int menu_displaylist_parse_horizontal_list(menu_displaylist_info_t *info)
|
||||
char db_path[PATH_MAX_LENGTH];
|
||||
char path_playlist[PATH_MAX_LENGTH];
|
||||
char lpl_basename[PATH_MAX_LENGTH];
|
||||
size_t i;
|
||||
content_playlist_t *playlist = NULL;
|
||||
settings_t *settings = config_get_ptr();
|
||||
menu_handle_t *menu = menu_driver_get_ptr();
|
||||
|
Loading…
x
Reference in New Issue
Block a user