summaryrefslogtreecommitdiff
path: root/usr.bin/aucat
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2013-11-18 17:52:00 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2013-11-18 17:52:00 +0000
commit1b8eaab01e0d762a0e87fe1c516ab2bb458ec3f7 (patch)
treee363a91140579df88a6b8eaf7a15b87bfa9543d8 /usr.bin/aucat
parentc9d14afce3c297eceeb6337fe1e4bc9da3cdad2b (diff)
remove unused variables
Diffstat (limited to 'usr.bin/aucat')
-rw-r--r--usr.bin/aucat/aucat.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/aucat/aucat.c b/usr.bin/aucat/aucat.c
index dbb2c65eeea..df6ee65b2be 100644
--- a/usr.bin/aucat/aucat.c
+++ b/usr.bin/aucat/aucat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aucat.c,v 1.143 2013/11/18 17:37:45 ratchov Exp $ */
+/* $OpenBSD: aucat.c,v 1.144 2013/11/18 17:51:59 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -282,7 +282,7 @@ mkdev(char *path, int mode, int bufsz, int round, int hold, int autovol)
int
main(int argc, char **argv)
{
- int c, background, unit, active;
+ int c, active;
unsigned int mode, hdr, xrun, rate, join, mmc, vol;
unsigned int hold, autovol, bufsz, round;
const char *str;
@@ -302,8 +302,6 @@ main(int argc, char **argv)
autovol = 1;
bufsz = 0;
round = 0;
- unit = 0;
- background = 0;
aparams_init(&ppar, 0, 1, DEFAULT_RATE);
aparams_init(&rpar, 0, 1, DEFAULT_RATE);
mode = MODE_MIDIMASK | MODE_PLAY | MODE_REC;
@@ -322,7 +320,6 @@ main(int argc, char **argv)
if (debug_level < 4)
debug_level++;
#endif
- background = 0;
break;
case 'h':
hdr = opt_hdr();