Comment out function that isn't used

This commit is contained in:
twinaphex 2020-05-20 16:29:57 +02:00
parent 4a20709645
commit d9ab59cb4a
2 changed files with 5 additions and 5 deletions

View File

@ -2432,8 +2432,8 @@ static bool accessibility_speak_unix(int speed,
{
int pid;
const char *language = get_user_language_iso639_1(true);
char* voice_out = (char *)malloc(3+strlen(language));
char* speed_out = (char *)malloc(3+3);
char* voice_out = (char*)malloc(3+strlen(language));
char* speed_out = (char*)malloc(3+3);
const char* speeds[10] = {"80", "100", "125", "150", "170", "210", "260", "310", "380", "450"};
if (speed < 1)
@ -2482,7 +2482,7 @@ static bool accessibility_speak_unix(int speed,
char* cmd[] = { (char*) "espeak", NULL, NULL, NULL, NULL};
cmd[1] = voice_out;
cmd[2] = speed_out;
cmd[3] = (char *) speak_text;
cmd[3] = (char*)speak_text;
execvp("espeak", cmd);
}
return true;

View File

@ -283,9 +283,9 @@ static void handle_discord_spectate(const char* secret)
}
#ifdef HAVE_MENU
#if 0
static void handle_discord_join_response(void *ignore, const char *line)
{
#if 0
/* TODO/FIXME: needs in-game widgets */
if (strstr(line, "yes"))
Discord_Respond(user_id, DISCORD_REPLY_YES);
@ -294,9 +294,9 @@ static void handle_discord_join_response(void *ignore, const char *line)
menu_input_dialog_end();
retroarch_menu_running_finished(false);
#endif
#endif
}
#endif
#endif
static void handle_discord_join_request(const DiscordUser* request)
{