mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-07 13:30:07 -05:00
a set of fixes to reduce gcc warnings
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
345843fc24
commit
7f084af4e4
7 changed files with 13 additions and 9 deletions
|
|
@ -417,7 +417,7 @@ int snd_pcm_mmap(snd_pcm_t *pcm)
|
|||
case SND_PCM_AREA_SHM:
|
||||
if (i1->u.shm.shmid != i->u.shm.shmid)
|
||||
continue;
|
||||
/* follow thru */
|
||||
/* fall through */
|
||||
case SND_PCM_AREA_LOCAL:
|
||||
if (pcm->access != SND_PCM_ACCESS_MMAP_INTERLEAVED &&
|
||||
pcm->access != SND_PCM_ACCESS_RW_INTERLEAVED)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue