summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-02-02 16:11:39 +0100
committerTakashi Iwai <tiwai@suse.de>2009-02-02 16:11:39 +0100
commit548dd9be908257a03e550c1bc7a8ddd582ff193f (patch)
treec7e42138bdb108c1590c073eed82aa4a7a650ab9
parentcb66600dd3d491f19ce24fdf6d05300ca235e531 (diff)
downloadalsa-lib-548dd9be908257a03e550c1bc7a8ddd582ff193f.tar.gz
Fix misc compile warnings
Shut up misc compile warnings from gcc: pcm_plug.c: In function ‘snd_pcm_plug_change_mmap’: pcm_plug.c:608: warning: enumeration value ‘SND_PCM_ACCESS_MMAP_INTERLEAVED’ not handled in switch pcm_plug.c:608: warning: enumeration value ‘SND_PCM_ACCESS_MMAP_NONINTERLEAVED’ not handled in switch pcm_plug.c:608: warning: enumeration value ‘SND_PCM_ACCESS_MMAP_COMPLEX’ not handled in switch Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--src/pcm/pcm_plug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pcm/pcm_plug.c b/src/pcm/pcm_plug.c
index 09028c98..967cf46c 100644
--- a/src/pcm/pcm_plug.c
+++ b/src/pcm/pcm_plug.c
@@ -612,6 +612,8 @@ static int snd_pcm_plug_change_mmap(snd_pcm_t *pcm, snd_pcm_t **new,
case SND_PCM_ACCESS_RW_NONINTERLEAVED:
slv->access = SND_PCM_ACCESS_MMAP_NONINTERLEAVED;
break;
+ default:
+ break;
}
return 1;
}