mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 10:20:41 +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];
|
char join_secret[128];
|
||||||
struct netplay_room *room = &networking_state_get_ptr()->host_room;
|
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)
|
if (room->id == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -3576,12 +3576,8 @@ void netplay_hangup(netplay_t *netplay,
|
|||||||
size_t i;
|
size_t i;
|
||||||
bool was_playing = false;
|
bool was_playing = false;
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
#if 0
|
|
||||||
/* TODO/FIXME - doesn't exist yet */
|
/* TODO/FIXME - doesn't exist yet */
|
||||||
bool extra_notifications = settings->bools.notification_show_netplay_extra;
|
bool extra_notifications = settings->bools.notification_show_netplay_extra;
|
||||||
#else
|
|
||||||
bool extra_notifications = false;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!netplay)
|
if (!netplay)
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user