mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
Cleanup handle_discord_join_request
This commit is contained in:
parent
de29587f25
commit
8350a2e050
@ -6192,13 +6192,11 @@ static void handle_discord_join_response(void *ignore, const char *line)
|
|||||||
|
|
||||||
static void handle_discord_join_request(const DiscordUser* request)
|
static void handle_discord_join_request(const DiscordUser* request)
|
||||||
{
|
{
|
||||||
static char url[PATH_MAX_LENGTH];
|
|
||||||
static char url_encoded[PATH_MAX_LENGTH];
|
|
||||||
static char filename[PATH_MAX_LENGTH];
|
|
||||||
char buf[PATH_MAX_LENGTH];
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
menu_input_ctx_line_t line;
|
#if 0
|
||||||
|
char buf[PATH_MAX_LENGTH];
|
||||||
#endif
|
#endif
|
||||||
|
menu_input_ctx_line_t line;
|
||||||
|
|
||||||
RARCH_LOG("[DISCORD]: Join request from %s#%s - %s %s\n",
|
RARCH_LOG("[DISCORD]: Join request from %s#%s - %s %s\n",
|
||||||
request->username,
|
request->username,
|
||||||
@ -6206,7 +6204,6 @@ static void handle_discord_join_request(const DiscordUser* request)
|
|||||||
request->userId,
|
request->userId,
|
||||||
request->avatar);
|
request->avatar);
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
|
||||||
discord_download_avatar(request->userId, request->avatar);
|
discord_download_avatar(request->userId, request->avatar);
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user