Avoid a compilation warning

This commit is contained in:
Pierre Pronchery 2018-02-05 00:59:58 +01:00
parent 996326cacb
commit 5bff6ff172

View File

@ -1163,6 +1163,7 @@ static int _set_control_widget_set(MixerControl2 * control);
static int _mixer_set_control_widget(Mixer * mixer, MixerControl2 * control)
{
String const * type;
(void) mixer;
if((type = mixercontrol_get_type(control->control)) == NULL)
/* XXX report error */