alsa: fix scan-build errors for unused variables

All cases of value stored but never read
This commit is contained in:
Peter Hutterer 2021-05-10 10:50:12 +10:00 committed by Wim Taymans
parent 6d19dd0162
commit 4dd886188a
4 changed files with 8 additions and 8 deletions

View file

@ -5159,7 +5159,7 @@ void pa_alsa_profile_set_probe(
pp += add_profiles_to_probe(pp, ps->profiles, false, false);
pp += add_profiles_to_probe(pp, ps->profiles, false, true);
pp += add_profiles_to_probe(pp, ps->profiles, true, false);
pp += add_profiles_to_probe(pp, ps->profiles, true, true);
add_profiles_to_probe(pp, ps->profiles, true, true);
for (pp = probe_order; *pp; pp++) {
uint32_t idx;