diff options
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 */ |