OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c6fb20
)
ucm: warn about unknown sequence commands
author
Jaroslav Kysela
<perex@perex.cz>
Tue, 9 Mar 2021 19:02:57 +0000
(20:02 +0100)
committer
Jaroslav Kysela
<perex@perex.cz>
Thu, 11 Mar 2021 08:26:07 +0000
(09:26 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/ucm/parser.c
patch
|
blob
|
history
diff --git
a/src/ucm/parser.c
b/src/ucm/parser.c
index
e1ff1c1
..
a20e173
100644
(file)
--- a/
src/ucm/parser.c
+++ b/
src/ucm/parser.c
@@
-812,7
+812,13
@@
static int parse_sequence(snd_use_case_mgr_t *uc_mgr,
}
continue;
}
-
+
+ if (strcmp(cmd, "comment") == 0)
+ goto skip;
+
+ uc_error("error: sequence command '%s' is ignored", cmd);
+
+skip:
list_del(&curr->list);
uc_mgr_free_sequence_element(curr);
}