mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Remove unused variables
This commit is contained in:
parent
7661bde711
commit
553e30495b
@ -3729,11 +3729,8 @@ static void menu_input_st_string_cb_remap_file_save_as(
|
||||
if (str && *str)
|
||||
{
|
||||
rarch_setting_t *setting = NULL;
|
||||
settings_t *settings = config_get_ptr();
|
||||
struct menu_state *menu_st = menu_state_get_ptr();
|
||||
const char *label = menu_st->input_dialog_kb_label;
|
||||
const char *msg_str = NULL;
|
||||
int ret = false;
|
||||
|
||||
if (!string_is_empty(label))
|
||||
setting = menu_setting_find(label);
|
||||
@ -3872,7 +3869,6 @@ static void menu_input_st_string_cb_override_file_save_as(
|
||||
if (str && *str)
|
||||
{
|
||||
rarch_setting_t *setting = NULL;
|
||||
settings_t *settings = config_get_ptr();
|
||||
struct menu_state *menu_st = menu_state_get_ptr();
|
||||
const char *label = menu_st->input_dialog_kb_label;
|
||||
const char *msg_str = NULL;
|
||||
|
@ -5332,8 +5332,7 @@ static int ozone_get_sublabel_max_width(ozone_handle_t *ozone,
|
||||
unsigned video_info_width,
|
||||
unsigned entry_padding)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
int sublabel_max_width = video_info_width
|
||||
int sublabel_max_width = video_info_width
|
||||
- (entry_padding * 2)
|
||||
- (ozone->dimensions.entry_icon_padding * 2);
|
||||
|
||||
|
@ -7624,7 +7624,6 @@ static void xmb_list_cache(void *data, enum menu_list_type type, unsigned action
|
||||
file_list_t *menu_stack = MENU_LIST_GET(menu_list, 0);
|
||||
file_list_t *selection_buf = MENU_LIST_GET_SELECTION(menu_list, 0);
|
||||
size_t selection = menu_st->selection_ptr;
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
if (!xmb)
|
||||
return;
|
||||
@ -7812,7 +7811,6 @@ static void xmb_context_destroy(void *data)
|
||||
|
||||
static void xmb_toggle(void *userdata, bool menu_on)
|
||||
{
|
||||
gfx_animation_ctx_entry_t entry;
|
||||
xmb_handle_t *xmb = (xmb_handle_t*)userdata;
|
||||
struct menu_state *menu_st = menu_state_get_ptr();
|
||||
|
||||
@ -7888,7 +7886,7 @@ static int xmb_list_push(void *data, void *userdata,
|
||||
bool menu_show_load_disc = settings->bools.menu_show_load_disc;
|
||||
bool menu_show_dump_disc = settings->bools.menu_show_dump_disc;
|
||||
#ifdef HAVE_LAKKA
|
||||
bool menu_show_eject_disc = settings->bools.menu_show_eject_disc;
|
||||
bool menu_show_eject_disc = settings->bools.menu_show_eject_disc;
|
||||
#endif
|
||||
bool menu_show_shutdown = settings->bools.menu_show_shutdown;
|
||||
bool menu_show_reboot = settings->bools.menu_show_reboot;
|
||||
@ -8081,8 +8079,8 @@ static int xmb_list_push(void *data, void *userdata,
|
||||
false);
|
||||
}
|
||||
#endif
|
||||
if ( !menu_content_show_settings &&
|
||||
!string_is_empty(menu_content_show_settings_password))
|
||||
if ( !menu_content_show_settings
|
||||
&& !string_is_empty(menu_content_show_settings_password))
|
||||
{
|
||||
MENU_DISPLAYLIST_PARSE_SETTINGS_ENUM(
|
||||
info->list,
|
||||
|
Loading…
x
Reference in New Issue
Block a user