summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh-add.c
diff options
context:
space:
mode:
authorDug Song <dugsong@cvs.openbsd.org>1999-10-17 20:39:12 +0000
committerDug Song <dugsong@cvs.openbsd.org>1999-10-17 20:39:12 +0000
commit30e18f6a35f57abe653fbebfcd27ba07b8e7da76 (patch)
tree5e5241c9f9b2702f42a25cd00e453781eafe8a89 /usr.bin/ssh/ssh-add.c
parent3ce9a5924c70c2c128e823112cedc729f804ece2 (diff)
-Wall, get rid of unused headers/vars
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
-rw-r--r--usr.bin/ssh/ssh-add.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c
index 125a6027ca3..ecedd73e218 100644
--- a/usr.bin/ssh/ssh-add.c
+++ b/usr.bin/ssh/ssh-add.c
@@ -14,7 +14,7 @@ Adds an identity to the authentication server, or removes an identity.
*/
#include "includes.h"
-RCSID("$Id: ssh-add.c,v 1.5 1999/10/11 20:24:54 markus Exp $");
+RCSID("$Id: ssh-add.c,v 1.6 1999/10/17 20:39:11 dugsong Exp $");
#include "rsa.h"
#include "ssh.h"
@@ -100,9 +100,6 @@ add_file(const char *filename)
first = 1;
while (!load_private_key(filename, pass, key, &comment))
{
- char buf[1024];
- FILE *f;
-
/* Free the old passphrase. */
memset(pass, 0, strlen(pass));
xfree(pass);