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)
|
bool audio_driver_toggle_mute(void)
|
||||||
{
|
{
|
||||||
settings_t *settings = config_get_ptr();
|
|
||||||
bool new_mute_state = !audio_driver_mute_enable;
|
bool new_mute_state = !audio_driver_mute_enable;
|
||||||
if (!audio_driver_context_audio_data)
|
if (!audio_driver_context_audio_data)
|
||||||
return false;
|
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));
|
return audio_driver_start(runloop_ctl(RUNLOOP_CTL_IS_SHUTDOWN, NULL));
|
||||||
case CMD_EVENT_AUDIO_MUTE_TOGGLE:
|
case CMD_EVENT_AUDIO_MUTE_TOGGLE:
|
||||||
{
|
{
|
||||||
settings_t *settings = config_get_ptr();
|
|
||||||
bool audio_mute_enable = *(audio_get_bool_ptr(AUDIO_ACTION_MUTE_ENABLE));
|
bool audio_mute_enable = *(audio_get_bool_ptr(AUDIO_ACTION_MUTE_ENABLE));
|
||||||
const char *msg = !audio_mute_enable ?
|
const char *msg = !audio_mute_enable ?
|
||||||
msg_hash_to_str(MSG_AUDIO_MUTED):
|
msg_hash_to_str(MSG_AUDIO_MUTED):
|
||||||
|
|
Loading…
Reference in New Issue