aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2016-10-01 12:51:59 -0400
committerTaylor Holberton <taylorcholberton@gmail.com>2016-10-01 12:51:59 -0400
commit73466c030a7a7de747943ece3374079a74bdbb54 (patch)
treeffe6c0baa10482ff46a1da07b0cb2360ca828b99
parent93b544ec2a346c1c1ddb04ec0227687664261e9c (diff)
voided unused parameter
-rw-r--r--pcm.c3
1 files changed, 3 insertions, 0 deletions
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);