mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-10 13:30:01 -05:00
pcm: hw: Don't return in a void function
A return statement with an expression in a function returning void is a constraint violation. Signed-off-by: Michael Forney <mforney@mforney.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
e0978ba69d
commit
80376889af
1 changed files with 1 additions and 1 deletions
|
|
@ -1171,7 +1171,7 @@ static void __fill_chmap_ctl_id(snd_ctl_elem_id_t *id, int dev, int subdev,
|
|||
static void fill_chmap_ctl_id(snd_pcm_t *pcm, snd_ctl_elem_id_t *id)
|
||||
{
|
||||
snd_pcm_hw_t *hw = pcm->private_data;
|
||||
return __fill_chmap_ctl_id(id, hw->device, hw->subdevice, pcm->stream);
|
||||
__fill_chmap_ctl_id(id, hw->device, hw->subdevice, pcm->stream);
|
||||
}
|
||||
|
||||
static int is_chmap_type(int type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue