Commit 8cb6854d authored by Max Kellermann's avatar Max Kellermann

audio: removed config_param.value NULL check

The value is always non-NULL.
parent 83844ec2
...@@ -46,7 +46,7 @@ void initAudioConfig(void) ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment