alsa-mixer: Add a default case for a switch, so that the compiler won't complain about unhandled cases.

This commit is contained in:
Tanu Kaskinen 2011-03-11 13:38:05 +02:00
parent 983d4c238d
commit 00a05a8272

View file

@ -1258,6 +1258,8 @@ static int check_required(pa_alsa_element *e, snd_mixer_elem_t *me) {
(e->switch_use != PA_ALSA_SWITCH_IGNORE) || (e->switch_use != PA_ALSA_SWITCH_IGNORE) ||
(e->enumeration_use != PA_ALSA_ENUMERATION_IGNORE); (e->enumeration_use != PA_ALSA_ENUMERATION_IGNORE);
break; break;
default:
pa_assert_not_reached();
} }
} }