diff options
author | delphij <delphij@FreeBSD.org> | 2006-08-08 13:45:46 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2006-08-08 13:45:46 +0000 |
commit | ae2f8ae4be9332bd1024da5ecc4d2e3a86015f3b (patch) | |
tree | f8f79f0788f687baf4bfea8a4314a5f01a94ad79 /usr.sbin/sade/devices.c | |
parent | ecc9acd26891da5892fc77bf0ed0df59cf810c1e (diff) | |
download | FreeBSD-src-ae2f8ae4be9332bd1024da5ecc4d2e3a86015f3b.zip FreeBSD-src-ae2f8ae4be9332bd1024da5ecc4d2e3a86015f3b.tar.gz |
Make sade(8) WARNS=3 clean.
Diffstat (limited to 'usr.sbin/sade/devices.c')
-rw-r--r-- | usr.sbin/sade/devices.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/sade/devices.c b/usr.sbin/sade/devices.c index 89f0389..fec9bba 100644 --- a/usr.sbin/sade/devices.c +++ b/usr.sbin/sade/devices.c @@ -107,9 +107,6 @@ deviceTry(struct _devname dev, char *try, int i) { int fd; char unit[80]; - mode_t m; - dev_t d; - int fail; snprintf(unit, sizeof unit, dev.name, i); snprintf(try, FILENAME_MAX, "/dev/%s", unit); @@ -172,7 +169,7 @@ deviceReset(void) void deviceGetAll(void) { - int i, j, fd, s; + int i, j, fd; char **names; msgNotify("Probing devices, please wait (this can take a while)..."); @@ -200,7 +197,6 @@ deviceGetAll(void) int i; for (i = 0; names[i]; i++) { - Chunk *c1; Disk *d; /* Ignore memory disks */ |