diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-01-03 01:41:48 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-01-03 01:41:48 +0000 |
commit | 4e3552d1b85396a89b2620edc8fea8750c876f1f (patch) | |
tree | 78f3c010569298973cde1da74bacee271ce703f5 /sbin/bioctl/bioctl.c | |
parent | 188344b48aa0d01ce64bf34acc28f63bd4b5926f (diff) |
Nuke some unused variables, ok marco
Diffstat (limited to 'sbin/bioctl/bioctl.c')
-rw-r--r-- | sbin/bioctl/bioctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c index 819391fcd84..be0c52b322d 100644 --- a/sbin/bioctl/bioctl.c +++ b/sbin/bioctl/bioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bioctl.c,v 1.89 2009/12/31 14:57:40 jmc Exp $ */ +/* $OpenBSD: bioctl.c,v 1.90 2010/01/03 01:41:47 nicm Exp $ */ /* * Copyright (c) 2004, 2005 Marco Peereboom @@ -701,8 +701,8 @@ bio_createraid(u_int16_t level, char *dev_list, char *key_disk) struct sr_crypto_kdfinfo kdfinfo; struct sr_crypto_kdf_pbkdf2 kdfhint; struct stat sb; - int rv, no_dev, i; - dev_t *dt, kd = NODEV; + int rv, no_dev; + dev_t *dt; u_int16_t min_disks = 0; if (!dev_list) |