diff --git a/frontend/drivers/platform_unix.c b/frontend/drivers/platform_unix.c index e7ac2bc24b..6cb3af8588 100644 --- a/frontend/drivers/platform_unix.c +++ b/frontend/drivers/platform_unix.c @@ -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; diff --git a/network/discord.c b/network/discord.c index cd16e09fb5..89ac517c53 100644 --- a/network/discord.c +++ b/network/discord.c @@ -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) {