mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-18 22:05:17 -05:00
add missing return value changes for snd_config_get_id() calls
Signed-off-by: Jaroslav Kysela <jkysela@redhat.com>
This commit is contained in:
parent
41039b49ad
commit
796b48c0d2
7 changed files with 18 additions and 9 deletions
|
|
@ -4437,7 +4437,8 @@ int snd_config_hook_load_for_all_cards(snd_config_t *root, snd_config_t *config,
|
|||
if (snd_config_search(root, fdriver, &n) >= 0) {
|
||||
if (snd_config_get_string(n, &driver) < 0) {
|
||||
if (snd_config_get_type(n) == SND_CONFIG_TYPE_COMPOUND) {
|
||||
snd_config_get_id(n, &driver);
|
||||
if (snd_config_get_id(n, &driver) < 0)
|
||||
goto __err;
|
||||
goto __std;
|
||||
}
|
||||
goto __err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue