mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-18 16:38:45 +00:00
remove unused variables
This commit is contained in:
parent
367ac6ce46
commit
cea8528929
@ -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…
x
Reference in New Issue
Block a user