summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2012-01-14 13:15:58 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2012-01-14 13:15:58 +0000
commit7692456de58bdaa371006f9adf60d99ebe1b1e33 (patch)
tree2caf00273245ff6ac0979452cccc4d0f93c15b1e /usr.bin
parent938257246b93849bddba5d115a700d2018943223 (diff)
remove unused variables, from Michael W. Bombardieri, thanks!
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/aucat/dev.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/aucat/dev.c b/usr.bin/aucat/dev.c
index 9265618dbd0..9336958e2d4 100644
--- a/usr.bin/aucat/dev.c
+++ b/usr.bin/aucat/dev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev.c,v 1.74 2012/01/10 08:06:28 ratchov Exp $ */
+/* $OpenBSD: dev.c,v 1.75 2012/01/14 13:15:57 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -1050,7 +1050,6 @@ dev_attach(struct dev *d, char *name, unsigned mode,
struct abuf *obuf, struct aparams *sopar, unsigned onch,
unsigned xrun, int vol)
{
- struct abuf *pbuf = NULL, *rbuf = NULL;
struct aparams ipar, opar;
struct aproc *conv;
unsigned round, nblk, nch;
@@ -1066,7 +1065,6 @@ dev_attach(struct dev *d, char *name, unsigned mode,
#endif
if (mode & MODE_PLAY) {
ipar = *sipar;
- pbuf = LIST_FIRST(&d->mix->outs);
nblk = (d->bufsz / d->round + 3) / 4;
round = dev_roundof(d, ipar.rate);
nch = ipar.cmax - ipar.cmin + 1;
@@ -1110,7 +1108,6 @@ dev_attach(struct dev *d, char *name, unsigned mode,
}
if (mode & MODE_REC) {
opar = *sopar;
- rbuf = LIST_FIRST(&d->sub->ins);
round = dev_roundof(d, opar.rate);
nblk = (d->bufsz / d->round + 3) / 4;
nch = opar.cmax - opar.cmin + 1;
@@ -1152,7 +1149,6 @@ dev_attach(struct dev *d, char *name, unsigned mode,
}
if (mode & MODE_MON) {
opar = *sopar;
- rbuf = LIST_FIRST(&d->submon->ins);
round = dev_roundof(d, opar.rate);
nblk = (d->bufsz / d->round + 3) / 4;
nch = opar.cmax - opar.cmin + 1;