mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-20 01:40:08 -05:00
ucm: warn about unknown sequence commands
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
1c6fb20232
commit
56c11293e3
1 changed files with 7 additions and 1 deletions
|
|
@ -812,7 +812,13 @@ static int parse_sequence(snd_use_case_mgr_t *uc_mgr,
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (strcmp(cmd, "comment") == 0)
|
||||||
|
goto skip;
|
||||||
|
|
||||||
|
uc_error("error: sequence command '%s' is ignored", cmd);
|
||||||
|
|
||||||
|
skip:
|
||||||
list_del(&curr->list);
|
list_del(&curr->list);
|
||||||
uc_mgr_free_sequence_element(curr);
|
uc_mgr_free_sequence_element(curr);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue