mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 04:15:44 +01:00
topology: don't fail when Define section is missing in the included file
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
31d4afd8ca
commit
a9b35252b4
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ static int pre_process_include_conf(struct tplg_pre_processor *tplg_pp, snd_conf
|
||||||
|
|
||||||
/* forcefully overwrite with defines from the command line */
|
/* forcefully overwrite with defines from the command line */
|
||||||
ret = pre_process_add_defines(tplg_pp, *new);
|
ret = pre_process_add_defines(tplg_pp, *new);
|
||||||
if (ret < 0) {
|
if (ret < 0 && ret != -ENOENT) {
|
||||||
fprintf(stderr, "Failed to parse arguments in input config\n");
|
fprintf(stderr, "Failed to parse arguments in input config\n");
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue