mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Remove some unused variables and some style nits
This commit is contained in:
parent
3ad4b057f9
commit
2f3ef75bf6
@ -2896,8 +2896,6 @@ static bool menu_displaylist_parse_playlist_manager_settings(
|
||||
const char *playlist_file = NULL;
|
||||
playlist_t *playlist = NULL;
|
||||
const char *menu_driver = menu_driver_ident();
|
||||
settings_t *settings = config_get_ptr();
|
||||
bool playlist_use_old_format = settings->bools.playlist_use_old_format;
|
||||
|
||||
if (string_is_empty(playlist_path))
|
||||
return false;
|
||||
|
@ -4536,7 +4536,6 @@ bool ai_service_speech_stop(void)
|
||||
|
||||
static void task_auto_translate_handler(retro_task_t *task)
|
||||
{
|
||||
http_transfer_data_t *data = NULL;
|
||||
int* mode_ptr = (int*)task->user_data;
|
||||
|
||||
if (task_get_cancelled(task))
|
||||
@ -4545,20 +4544,16 @@ static void task_auto_translate_handler(retro_task_t *task)
|
||||
if (*mode_ptr == 2)
|
||||
{
|
||||
#ifdef HAVE_ACCESSIBILITY
|
||||
if (is_narrator_running() == false)
|
||||
{
|
||||
if (!is_narrator_running())
|
||||
goto task_finished;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
/* Speech Mode */
|
||||
else if (*mode_ptr == 1)
|
||||
{
|
||||
#ifdef HAVE_AUDIOMIXER
|
||||
if (is_ai_service_speech_running() == false)
|
||||
{
|
||||
if (!is_ai_service_speech_running())
|
||||
goto task_finished;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user