Silence an unused variable warning

This is not used since 73abaddd9c
This commit is contained in:
pstef 2025-03-27 19:23:16 +00:00
parent 5ef2b5a442
commit aa94f571e2
5 changed files with 0 additions and 5 deletions

View File

@ -35,7 +35,6 @@ int action_cancel_pop_default(const char *path,
{
size_t new_selection_ptr;
struct menu_state *menu_st = menu_state_get_ptr();
size_t selection = menu_st->selection_ptr;
const char *menu_label = NULL;
unsigned menu_type = MENU_SETTINGS_NONE;
menu_search_terms_t *menu_search_terms = menu_entries_search_get_terms();

View File

@ -969,7 +969,6 @@ static int action_left_state_slot(unsigned type, const char *label,
static int action_left_replay_slot(unsigned type, const char *label,
bool wraparound)
{
struct menu_state *menu_st = menu_state_get_ptr();
settings_t *settings = config_get_ptr();
settings->ints.replay_slot--;

View File

@ -4670,7 +4670,6 @@ static int action_ok_cheat_delete(const char *path,
char msg[128];
size_t new_selection_ptr = 0;
struct menu_state *menu_st = menu_state_get_ptr();
size_t selection = menu_st->selection_ptr;
unsigned int new_size = cheat_manager_get_size() - 1;
if (new_size >0)

View File

@ -960,7 +960,6 @@ static int action_right_state_slot(unsigned type, const char *label,
static int action_right_replay_slot(unsigned type, const char *label,
bool wraparound)
{
struct menu_state *menu_st = menu_state_get_ptr();
settings_t *settings = config_get_ptr();
settings->ints.replay_slot++;

View File

@ -2405,7 +2405,6 @@ static void materialui_update_fullscreen_thumbnail_label(
{
struct menu_state *menu_st = menu_state_get_ptr();
size_t selection = menu_st->selection_ptr;
const char *thumbnail_label = NULL;
menu_entry_t selected_entry;
/* Cache selected entry label