audio: removed config_param.value NULL check
The value is always non-NULL.
This commit is contained in:
parent
83844ec239
commit
8cb6854da4
@ -46,7 +46,7 @@ void initAudioConfig(void)
|
|||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
bool ret;
|
bool ret;
|
||||||
|
|
||||||
if (NULL == param || NULL == param->value)
|
if (param == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ret = audio_format_parse(&configured_audio_format, param->value,
|
ret = audio_format_parse(&configured_audio_format, param->value,
|
||||||
|
Loading…
Reference in New Issue
Block a user