]> git.alsa-project.org Git - alsa-lib.git/commitdiff
fixed warnings
authorJaroslav Kysela <perex@perex.cz>
Sun, 8 Feb 2004 10:21:23 +0000 (10:21 +0000)
committerJaroslav Kysela <perex@perex.cz>
Sun, 8 Feb 2004 10:21:23 +0000 (10:21 +0000)
src/pcm/pcm_file.c

index 81b2704d250311d6d479124b01253fbe5f5dc138..db1e33cb194f3899bf84c645bf52cf10e94b8b5d 100644 (file)
@@ -415,8 +415,6 @@ static int snd_pcm_file_mmap(snd_pcm_t *pcm ATTRIBUTE_UNUSED)
 
 static int snd_pcm_file_munmap(snd_pcm_t *pcm ATTRIBUTE_UNUSED)
 {
-       snd_pcm_file_t *file = pcm->private_data;
-       snd_pcm_t *slave = file->slave;
        pcm->mmap_channels = NULL;
        pcm->running_areas = NULL;
        pcm->stopped_areas = NULL;