Remove unused variables

This commit is contained in:
Twinaphex 2017-05-09 01:53:03 +02:00
parent d75f155eb6
commit e3f854092f
2 changed files with 0 additions and 2 deletions

View File

@ -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;

View File

@ -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):