diff options
author | stefanf <stefanf@FreeBSD.org> | 2006-07-20 09:38:46 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2006-07-20 09:38:46 +0000 |
commit | 42f73871a9d36dd8b3cb2494fa5c3a4953ed214f (patch) | |
tree | c2e3fcd57331ff2e184c667fc66fdbd47db8562e /usr.sbin/fdread | |
parent | 372c92d21957536ac93e908588391256e32e76cf (diff) | |
download | FreeBSD-src-42f73871a9d36dd8b3cb2494fa5c3a4953ed214f.zip FreeBSD-src-42f73871a9d36dd8b3cb2494fa5c3a4953ed214f.tar.gz |
Remove unused variables.
Diffstat (limited to 'usr.sbin/fdread')
-rw-r--r-- | usr.sbin/fdread/fdread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/fdread/fdread.c b/usr.sbin/fdread/fdread.c index 8135170..2539b3a 100644 --- a/usr.sbin/fdread/fdread.c +++ b/usr.sbin/fdread/fdread.c @@ -300,7 +300,7 @@ doread(int fd, FILE *of, const char *_devname) int doreadid(int fd, unsigned int numids, unsigned int trackno) { - int rv = 0, status, fdopts; + int rv = 0, fdopts; unsigned int i; struct fdc_readid info; struct fdc_status fdcs; @@ -316,7 +316,7 @@ doreadid(int fd, unsigned int numids, unsigned int trackno) for (i = 0; i < numids; i++) { info.cyl = trackno / fdt.heads; info.head = fdt.heads > 1? trackno % fdt.heads: 0; - if ((status = ioctl(fd, FD_READID, &info)) == 0) { + if (ioctl(fd, FD_READID, &info) == 0) { printf("C = %d, H = %d, R = %d, N = %d\n", info.cyl, info.head, info.sec, info.secshift); } else { |