mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-11 12:35:08 +00:00
Remove unused variables
This commit is contained in:
parent
7572924abf
commit
685c126589
@ -1991,7 +1991,6 @@ bool config_load_override(void)
|
||||
const char *game_name = NULL;
|
||||
bool should_append = false;
|
||||
global_t *global = global_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
rarch_system_info_t *system = NULL;
|
||||
|
||||
runloop_ctl(RUNLOOP_CTL_SYSTEM_INFO_GET, &system);
|
||||
@ -2422,8 +2421,6 @@ static void save_keybinds_user(config_file_t *conf, unsigned user)
|
||||
*/
|
||||
void config_load(void)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
/* Flush out some states that could have been
|
||||
* set by core environment variables */
|
||||
core_unset_input_descriptors();
|
||||
@ -3105,7 +3102,6 @@ void config_clear_active_core_path(void)
|
||||
|
||||
const char *config_get_active_path(void)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
global_t *global = global_get_ptr();
|
||||
|
||||
if (!string_is_empty(global->path.config))
|
||||
|
@ -311,7 +311,6 @@ bool libretro_get_system_info(const char *path,
|
||||
|
||||
static void load_dynamic_core(void)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
function_t sym = dylib_proc(NULL, "retro_init");
|
||||
|
||||
if (sym)
|
||||
|
@ -3797,7 +3797,9 @@ static bool menu_displaylist_push_internal(
|
||||
}
|
||||
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_MUSIC_TAB)))
|
||||
{
|
||||
#if 0
|
||||
settings_t *settings = config_get_ptr();
|
||||
#endif
|
||||
|
||||
menu_displaylist_reset_filebrowser();
|
||||
info->type = 42;
|
||||
@ -3838,7 +3840,9 @@ static bool menu_displaylist_push_internal(
|
||||
}
|
||||
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_TAB)))
|
||||
{
|
||||
#if 0
|
||||
settings_t *settings = config_get_ptr();
|
||||
#endif
|
||||
|
||||
menu_displaylist_reset_filebrowser();
|
||||
info->type = 42;
|
||||
@ -3879,7 +3883,9 @@ static bool menu_displaylist_push_internal(
|
||||
}
|
||||
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_IMAGES_TAB)))
|
||||
{
|
||||
#if 0
|
||||
settings_t *settings = config_get_ptr();
|
||||
#endif
|
||||
|
||||
menu_displaylist_reset_filebrowser();
|
||||
info->type = 42;
|
||||
|
Loading…
Reference in New Issue
Block a user