mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Remove unused variables
This commit is contained in:
parent
d75f155eb6
commit
e3f854092f
@ -949,7 +949,6 @@ bool audio_driver_has_callback(void)
|
||||
|
||||
bool audio_driver_toggle_mute(void)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
bool new_mute_state = !audio_driver_mute_enable;
|
||||
if (!audio_driver_context_audio_data)
|
||||
return false;
|
||||
|
@ -2059,7 +2059,6 @@ bool command_event(enum event_command cmd, void *data)
|
||||
return audio_driver_start(runloop_ctl(RUNLOOP_CTL_IS_SHUTDOWN, NULL));
|
||||
case CMD_EVENT_AUDIO_MUTE_TOGGLE:
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
bool audio_mute_enable = *(audio_get_bool_ptr(AUDIO_ACTION_MUTE_ENABLE));
|
||||
const char *msg = !audio_mute_enable ?
|
||||
msg_hash_to_str(MSG_AUDIO_MUTED):
|
||||
|
Loading…
x
Reference in New Issue
Block a user