mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Fix final warning and remove unused variables
This commit is contained in:
parent
e64cd24715
commit
5dd0e90fca
@ -1069,7 +1069,6 @@ int generic_action_ok_displaylist_push(const char *path,
|
|||||||
break;
|
break;
|
||||||
case ACTION_OK_DL_STREAM_CONFIGFILE:
|
case ACTION_OK_DL_STREAM_CONFIGFILE:
|
||||||
{
|
{
|
||||||
global_t *global = global_get_ptr();
|
|
||||||
info.type = type;
|
info.type = type;
|
||||||
info.directory_ptr = idx;
|
info.directory_ptr = idx;
|
||||||
info_path = recording_st->config_dir;
|
info_path = recording_st->config_dir;
|
||||||
@ -1080,7 +1079,6 @@ int generic_action_ok_displaylist_push(const char *path,
|
|||||||
case ACTION_OK_DL_RECORD_CONFIGFILE:
|
case ACTION_OK_DL_RECORD_CONFIGFILE:
|
||||||
filebrowser_clear_type();
|
filebrowser_clear_type();
|
||||||
{
|
{
|
||||||
global_t *global = global_get_ptr();
|
|
||||||
info.type = type;
|
info.type = type;
|
||||||
info.directory_ptr = idx;
|
info.directory_ptr = idx;
|
||||||
info_path = recording_st->config_dir;
|
info_path = recording_st->config_dir;
|
||||||
|
@ -941,7 +941,6 @@ bool netplay_handshake_init(netplay_t *netplay,
|
|||||||
uint32_t compression = 0;
|
uint32_t compression = 0;
|
||||||
struct compression_transcoder *ctrans = NULL;
|
struct compression_transcoder *ctrans = NULL;
|
||||||
const char *dmsg = NULL;
|
const char *dmsg = NULL;
|
||||||
net_driver_state_t *net_st = &networking_driver_st;
|
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
bool extra_notifications = settings->bools.notification_show_netplay_extra;
|
bool extra_notifications = settings->bools.notification_show_netplay_extra;
|
||||||
|
|
||||||
@ -7603,7 +7602,7 @@ void deinit_netplay(void)
|
|||||||
free(net_st->mitm_pending.fds);
|
free(net_st->mitm_pending.fds);
|
||||||
net_st->mitm_pending.fds = NULL;
|
net_st->mitm_pending.fds = NULL;
|
||||||
}
|
}
|
||||||
if (net_st->mitm_pending.ids)
|
if (net_st->mitm_pending.ids[0])
|
||||||
{
|
{
|
||||||
free(net_st->mitm_pending.ids[0]);
|
free(net_st->mitm_pending.ids[0]);
|
||||||
memset(net_st->mitm_pending.ids, 0,
|
memset(net_st->mitm_pending.ids, 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user