aboutsummaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
Diffstat (limited to 'agent')
-rw-r--r--agent/command-ssh.c1
-rw-r--r--agent/command.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/agent/command-ssh.c b/agent/command-ssh.c
index 5c7cf1f26..fdde0fbfd 100644
--- a/agent/command-ssh.c
+++ b/agent/command-ssh.c
@@ -2975,7 +2975,6 @@ ssh_key_to_protected_buffer (gcry_sexp_t key, const char *passphrase,
unsigned int buffer_new_n;
gpg_error_t err;
- err = 0;
buffer_new_n = gcry_sexp_sprint (key, GCRYSEXP_FMT_CANON, NULL, 0);
buffer_new = xtrymalloc_secure (buffer_new_n);
if (! buffer_new)
diff --git a/agent/command.c b/agent/command.c
index ab6d7eb24..bd184ac26 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -927,7 +927,6 @@ cmd_genkey (assuan_context_t ctx, char *line)
}
line = skip_options (line);
- p = line;
for (p=line; *p && *p != ' ' && *p != '\t'; p++)
;
*p = '\0';
@@ -2105,7 +2104,6 @@ cmd_import_key (assuan_context_t ctx, char *line)
force = has_option (line, "--force");
line = skip_options (line);
- p = line;
for (p=line; *p && *p != ' ' && *p != '\t'; p++)
;
*p = '\0';