mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 02:00:41 +00:00
Revert "Revert "remove unused variables""
This reverts commit 0c735e5c9c
.
This commit is contained in:
parent
7f33a03423
commit
2820231dd0
@ -377,9 +377,6 @@ void discord_update(enum discord_presence presence)
|
||||
{
|
||||
char join_secret[128];
|
||||
struct netplay_room *room = &networking_state_get_ptr()->host_room;
|
||||
bool host_method_is_mitm = room->host_method == NETPLAY_HOST_METHOD_MITM;
|
||||
const char *srv_address = host_method_is_mitm ? room->mitm_address : room->address;
|
||||
unsigned srv_port = host_method_is_mitm ? room->mitm_port : room->port;
|
||||
if (room->id == 0)
|
||||
return;
|
||||
|
||||
|
@ -3576,12 +3576,8 @@ void netplay_hangup(netplay_t *netplay,
|
||||
size_t i;
|
||||
bool was_playing = false;
|
||||
settings_t *settings = config_get_ptr();
|
||||
#if 0
|
||||
/* TODO/FIXME - doesn't exist yet */
|
||||
bool extra_notifications = settings->bools.notification_show_netplay_extra;
|
||||
#else
|
||||
bool extra_notifications = false;
|
||||
#endif
|
||||
|
||||
if (!netplay)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user