mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Fix compile warnings
Fix trivial compile warnings.
This commit is contained in:
parent
0ec2247972
commit
76f7af823b
6 changed files with 38 additions and 30 deletions
|
|
@ -1270,7 +1270,7 @@ static int simple_event_add(snd_mixer_class_t *class, snd_hctl_elem_t *helem)
|
|||
{
|
||||
const char *name = snd_hctl_elem_get_name(helem);
|
||||
size_t len;
|
||||
selem_ctl_type_t type;
|
||||
selem_ctl_type_t type = CTL_SINGLE; /* to shut up warning */
|
||||
if (snd_hctl_elem_get_interface(helem) != SND_CTL_ELEM_IFACE_MIXER)
|
||||
return 0;
|
||||
if (strcmp(name, "Capture Source") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue