aboutsummaryrefslogtreecommitdiff
path: root/pcm.c
diff options
context:
space:
mode:
authorGabriel M. Beddingfield <gabrbedd@ti.com>2012-04-19 21:36:19 -0500
committerSimon Wilson <simonwilson@google.com>2012-10-22 16:58:31 -0700
commitcde1f6f974c5832a970e3496467cda39d7dc1157 (patch)
treeee90039c15a2534e405893768262de3824fbe6ed /pcm.c
parent2a274a18b0eb4ff45c5bb8f02eb0264d8cc6154c (diff)
Fix several 'symbol defined but not used' warnings.
Diffstat (limited to 'pcm.c')
-rw-r--r--pcm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pcm.c b/pcm.c
index ecd2304..00befe3 100644
--- a/pcm.c
+++ b/pcm.c
@@ -719,7 +719,6 @@ int pcm_state(struct pcm *pcm)
int pcm_wait(struct pcm *pcm, int timeout)
{
struct pollfd pfd;
- unsigned short revents = 0;
int err;
pfd.fd = pcm->fd;
@@ -832,6 +831,5 @@ int pcm_mmap_write(struct pcm *pcm, const void *buffer, unsigned int bytes)
count -= frames;
}
-_end:
return 0;
}