From 73466c030a7a7de747943ece3374079a74bdbb54 Mon Sep 17 00:00:00 2001 From: Taylor Holberton Date: Sat, 1 Oct 2016 12:51:59 -0400 Subject: voided unused parameter --- pcm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pcm.c b/pcm.c index 0202d46..24ab333 100644 --- a/pcm.c +++ b/pcm.c @@ -928,6 +928,9 @@ int pcm_mmap_begin(struct pcm *pcm, void **areas, unsigned int *offset, int pcm_mmap_commit(struct pcm *pcm, unsigned int offset, unsigned int frames) { + /* not used */ + (void) offset; + /* update the application pointer in userspace and kernel */ pcm_mmap_appl_forward(pcm, frames); pcm_sync_ptr(pcm, 0); -- cgit v1.2.3