summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhalex <halex@openbsd.org>2013-04-04 11:18:03 +0000
committerhalex <halex@openbsd.org>2013-04-04 11:18:03 +0000
commitb37b2bdee015042d25c739d3e11b5a9985fe422e (patch)
tree8288efbee774598404e577224954105a94bc32ca
parentMake our dump(8) honour the "nodump" flag for directories, effectively (diff)
downloadwireguard-openbsd-b37b2bdee015042d25c739d3e11b5a9985fe422e.tar.xz
wireguard-openbsd-b37b2bdee015042d25c739d3e11b5a9985fe422e.zip
zap redundant assignments
-rw-r--r--sys/arch/amd64/stand/libsa/softraid.c3
-rw-r--r--sys/arch/i386/stand/libsa/softraid.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/amd64/stand/libsa/softraid.c b/sys/arch/amd64/stand/libsa/softraid.c
index 105262c5715..566f13f955e 100644
--- a/sys/arch/amd64/stand/libsa/softraid.c
+++ b/sys/arch/amd64/stand/libsa/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.2 2013/01/02 16:20:55 martynas Exp $ */
+/* $OpenBSD: softraid.c,v 1.3 2013/04/04 11:18:03 halex Exp $ */
/*
* Copyright (c) 2012 Joel Sing <jsing@openbsd.org>
@@ -500,7 +500,6 @@ sr_crypto_decrypt_keys(struct sr_boot_volume *bv)
}
printf("Passphrase: ");
- i = 0;
for (i = 0; i < PASSPHRASE_LENGTH - 1; i++) {
c = cngetc();
if (c == '\r' || c == '\n')
diff --git a/sys/arch/i386/stand/libsa/softraid.c b/sys/arch/i386/stand/libsa/softraid.c
index 105262c5715..566f13f955e 100644
--- a/sys/arch/i386/stand/libsa/softraid.c
+++ b/sys/arch/i386/stand/libsa/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.2 2013/01/02 16:20:55 martynas Exp $ */
+/* $OpenBSD: softraid.c,v 1.3 2013/04/04 11:18:03 halex Exp $ */
/*
* Copyright (c) 2012 Joel Sing <jsing@openbsd.org>
@@ -500,7 +500,6 @@ sr_crypto_decrypt_keys(struct sr_boot_volume *bv)
}
printf("Passphrase: ");
- i = 0;
for (i = 0; i < PASSPHRASE_LENGTH - 1; i++) {
c = cngetc();
if (c == '\r' || c == '\n')