summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2017-11-23 06:03:56 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2017-11-23 06:03:56 +0000
commit26dc4cfd0de33250dde073289b3beac6893c59a3 (patch)
tree3c2a75c038bf5bb6b3f8264c28d4d0ce4afe4d0b /usr.bin
parent606b5fbb1d8733c0e05700f02f280824ecdd9e4b (diff)
Remove useless variable assignments in .au header parsing code. From
Michael W. Bombardieri. Thanks.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/aucat/afile.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.bin/aucat/afile.c b/usr.bin/aucat/afile.c
index 7a59aa96dd3..b69c4d045d0 100644
--- a/usr.bin/aucat/afile.c
+++ b/usr.bin/aucat/afile.c
@@ -686,17 +686,14 @@ afile_au_readhdr(struct afile *f)
case AU_FMT_ULAW:
f->fmt = AFILE_FMT_ULAW;
f->par.bits = 8;
- f->par.bps = 1;
break;
case AU_FMT_ALAW:
f->fmt = AFILE_FMT_ALAW;
f->par.bits = 8;
- f->par.bps = 1;
break;
case AU_FMT_FLOAT:
f->fmt = AFILE_FMT_FLOAT;
f->par.bits = 32;
- f->par.bps = 4;
break;
default:
log_puts(f->path);