diff --git a/menu/cbs/menu_entries_cbs_ok.c b/menu/cbs/menu_entries_cbs_ok.c index 49a61d96e5..d966a5211e 100644 --- a/menu/cbs/menu_entries_cbs_ok.c +++ b/menu/cbs/menu_entries_cbs_ok.c @@ -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); diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 831ae96f16..03132b5223 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -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++) diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index d59c06d2b6..9d8bce6363 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -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();