mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Remove unused variables
This commit is contained in:
parent
bea4f8aad3
commit
97d8db7aae
@ -1274,8 +1274,6 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
|
||||
if (cbs->enum_idx != MSG_UNKNOWN)
|
||||
{
|
||||
settings_t *settings; /* config_get_ptr is called only when needed */
|
||||
|
||||
switch (cbs->enum_idx)
|
||||
{
|
||||
case MENU_ENUM_LABEL_FILE_BROWSER_CORE:
|
||||
|
@ -1630,7 +1630,6 @@ static void ozone_draw_footer(ozone_handle_t *ozone, video_frame_info_t *video_i
|
||||
{
|
||||
float scale_factor = ozone->last_scale_factor;
|
||||
unsigned seperator_margin = 30 * scale_factor;
|
||||
unsigned menu_timedate_style = settings->uints.menu_timedate_style;
|
||||
bool menu_core_enable = settings->bools.menu_core_enable;
|
||||
|
||||
/* Separator */
|
||||
|
@ -4299,7 +4299,6 @@ static void xmb_frame(void *data, video_frame_info_t *video_info)
|
||||
bool fade_tab_icons = false;
|
||||
float fade_tab_icons_x_threshold = 0.0f;
|
||||
bool menu_core_enable = settings->bools.menu_core_enable;
|
||||
float menu_scale_factor = settings->floats.menu_scale_factor;
|
||||
float thumbnail_scale_factor = (float)settings->uints.menu_xmb_thumbnail_scale_factor / 100.0f;
|
||||
|
||||
if (!xmb)
|
||||
|
@ -365,7 +365,6 @@ static unsigned menu_displaylist_parse_system_info(file_list_t *list)
|
||||
unsigned count = 0;
|
||||
const char *tmp_string = NULL;
|
||||
const frontend_ctx_driver_t *frontend = frontend_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
const char *menu_driver = menu_driver_ident();
|
||||
|
||||
tmp[0] = '\0';
|
||||
@ -2869,7 +2868,6 @@ static bool menu_displaylist_parse_playlist_manager_settings(
|
||||
enum msg_hash_enums left_thumbnail_label_value;
|
||||
const char *playlist_file = NULL;
|
||||
playlist_t *playlist = NULL;
|
||||
settings_t *settings = config_get_ptr();
|
||||
const char *menu_driver = menu_driver_ident();
|
||||
|
||||
if (string_is_empty(playlist_path))
|
||||
|
Loading…
x
Reference in New Issue
Block a user