mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
conf: snd_config_get_card() remove unused assignment
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
30d1d256e7
commit
42c0ccf327
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ int snd_config_get_card(const snd_config_t *conf)
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
if (snd_config_get_integer(conf, &v) < 0) {
|
if (snd_config_get_integer(conf, &v) < 0) {
|
||||||
if ((err = snd_config_get_string(conf, &str)) < 0) {
|
if (snd_config_get_string(conf, &str)) {
|
||||||
if (snd_config_get_id(conf, &id) >= 0)
|
if (snd_config_get_id(conf, &id) >= 0)
|
||||||
SNDERR("Invalid field %s", id);
|
SNDERR("Invalid field %s", id);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue