=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/aucat/Attic/dev.c,v retrieving revision 1.74 retrieving revision 1.75 diff -u -r1.74 -r1.75 --- src/usr.bin/aucat/Attic/dev.c 2012/01/10 08:06:28 1.74 +++ src/usr.bin/aucat/Attic/dev.c 2012/01/14 13:15:57 1.75 @@ -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 * @@ -1050,7 +1050,6 @@ 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 @@ #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 @@ } 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 @@ } 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;