Cleanups; fixes of warnings

This commit is contained in:
reallibretroadmin 2022-10-17 19:29:33 +02:00
parent 0cebebbfdc
commit c594abb10d
3 changed files with 1 additions and 6 deletions

View File

@ -3307,7 +3307,6 @@ static bool config_load_file(global_t *global,
{
unsigned i;
char tmp_str[PATH_MAX_LENGTH];
unsigned tmp_uint = 0;
bool tmp_bool = false;
static bool first_load = true;
unsigned msg_color = 0;

View File

@ -672,7 +672,7 @@ ssize_t menu_explore_get_entry_playlist_index(unsigned type,
file_list_t *list, size_t *list_pos, size_t *list_size);
ssize_t menu_explore_set_playlist_thumbnail(unsigned type,
gfx_thumbnail_path_data_t *thumbnail_path_data); /* returns list index */
bool menu_explore_is_content_list();
bool menu_explore_is_content_list(void);
void menu_explore_context_init(void);
void menu_explore_context_deinit(void);
void menu_explore_free_state(explore_state_t *state);

View File

@ -2683,8 +2683,6 @@ bool command_event(enum event_command cmd, void *data)
if (!netplay_driver_ctl(RARCH_NETPLAY_CTL_ALLOW_PAUSE, NULL))
break;
#endif
boolean = false;
runloop_st->flags &= ~RUNLOOP_FLAG_PAUSED;
runloop_pause_checks();
break;
@ -2693,8 +2691,6 @@ bool command_event(enum event_command cmd, void *data)
if (!netplay_driver_ctl(RARCH_NETPLAY_CTL_ALLOW_PAUSE, NULL))
break;
#endif
boolean = true;
runloop_st->flags |= RUNLOOP_FLAG_PAUSED;
runloop_pause_checks();
break;