mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
conf: _snd_config_evaluate - remove 'delete compound members' call
With the recent snd_config_substitute() fix, remove the duplicate code. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
8f236983b6
commit
15b59a5647
1 changed files with 2 additions and 7 deletions
|
|
@ -4886,13 +4886,8 @@ static int _snd_config_evaluate(snd_config_t *src,
|
|||
if (err < 0)
|
||||
SNDERR("function %s returned error: %s", func_name, snd_strerror(err));
|
||||
snd_dlclose(h);
|
||||
if (err >= 0 && eval) {
|
||||
/* substitute merges compound members */
|
||||
/* we don't want merging at all */
|
||||
err = snd_config_delete_compound_members(src);
|
||||
if (err >= 0)
|
||||
err = snd_config_substitute(src, eval);
|
||||
}
|
||||
if (err >= 0 && eval)
|
||||
err = snd_config_substitute(src, eval);
|
||||
}
|
||||
_errbuf:
|
||||
free(buf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue