Remove the error var, it hides the real one.

PR 27213.

BTW the CDIOCREADAUDIO ioctl is deprecated, its not longer needed
and was an ugly hack from start on.
This commit is contained in:
Søren Schmidt 2001-05-09 13:01:10 +00:00
parent ee72cb740e
commit 63e45b51b0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76406

View File

@ -812,7 +812,7 @@ acdioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p)
int32_t lba;
caddr_t buffer, ubuf = args->buffer;
int8_t ccb[16];
int frames, error = 0;
int frames;
if (!cdp->toc.hdr.ending_track) {
error = EIO;