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)
|
if (str && *str)
|
||||||
{
|
{
|
||||||
rarch_setting_t *setting = NULL;
|
rarch_setting_t *setting = NULL;
|
||||||
settings_t *settings = config_get_ptr();
|
|
||||||
struct menu_state *menu_st = menu_state_get_ptr();
|
struct menu_state *menu_st = menu_state_get_ptr();
|
||||||
const char *label = menu_st->input_dialog_kb_label;
|
const char *label = menu_st->input_dialog_kb_label;
|
||||||
const char *msg_str = NULL;
|
|
||||||
int ret = false;
|
|
||||||
|
|
||||||
if (!string_is_empty(label))
|
if (!string_is_empty(label))
|
||||||
setting = menu_setting_find(label);
|
setting = menu_setting_find(label);
|
||||||
|
@ -3872,7 +3869,6 @@ static void menu_input_st_string_cb_override_file_save_as(
|
||||||
if (str && *str)
|
if (str && *str)
|
||||||
{
|
{
|
||||||
rarch_setting_t *setting = NULL;
|
rarch_setting_t *setting = NULL;
|
||||||
settings_t *settings = config_get_ptr();
|
|
||||||
struct menu_state *menu_st = menu_state_get_ptr();
|
struct menu_state *menu_st = menu_state_get_ptr();
|
||||||
const char *label = menu_st->input_dialog_kb_label;
|
const char *label = menu_st->input_dialog_kb_label;
|
||||||
const char *msg_str = NULL;
|
const char *msg_str = NULL;
|
||||||
|
|
|
@ -5332,7 +5332,6 @@ static int ozone_get_sublabel_max_width(ozone_handle_t *ozone,
|
||||||
unsigned video_info_width,
|
unsigned video_info_width,
|
||||||
unsigned entry_padding)
|
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)
|
- (entry_padding * 2)
|
||||||
- (ozone->dimensions.entry_icon_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 *menu_stack = MENU_LIST_GET(menu_list, 0);
|
||||||
file_list_t *selection_buf = MENU_LIST_GET_SELECTION(menu_list, 0);
|
file_list_t *selection_buf = MENU_LIST_GET_SELECTION(menu_list, 0);
|
||||||
size_t selection = menu_st->selection_ptr;
|
size_t selection = menu_st->selection_ptr;
|
||||||
settings_t *settings = config_get_ptr();
|
|
||||||
|
|
||||||
if (!xmb)
|
if (!xmb)
|
||||||
return;
|
return;
|
||||||
|
@ -7812,7 +7811,6 @@ static void xmb_context_destroy(void *data)
|
||||||
|
|
||||||
static void xmb_toggle(void *userdata, bool menu_on)
|
static void xmb_toggle(void *userdata, bool menu_on)
|
||||||
{
|
{
|
||||||
gfx_animation_ctx_entry_t entry;
|
|
||||||
xmb_handle_t *xmb = (xmb_handle_t*)userdata;
|
xmb_handle_t *xmb = (xmb_handle_t*)userdata;
|
||||||
struct menu_state *menu_st = menu_state_get_ptr();
|
struct menu_state *menu_st = menu_state_get_ptr();
|
||||||
|
|
||||||
|
@ -8081,8 +8079,8 @@ static int xmb_list_push(void *data, void *userdata,
|
||||||
false);
|
false);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if ( !menu_content_show_settings &&
|
if ( !menu_content_show_settings
|
||||||
!string_is_empty(menu_content_show_settings_password))
|
&& !string_is_empty(menu_content_show_settings_password))
|
||||||
{
|
{
|
||||||
MENU_DISPLAYLIST_PARSE_SETTINGS_ENUM(
|
MENU_DISPLAYLIST_PARSE_SETTINGS_ENUM(
|
||||||
info->list,
|
info->list,
|
||||||
|
|
Loading…
Reference in New Issue