aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command-ssh.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-08-10 12:11:30 +0000
committerWerner Koch <[email protected]>2011-08-10 12:11:30 +0000
commit816bee1fa0d833ac72ea4e7d52465e6e1da2645d (patch)
tree91be759197e74f2e32f821edecce8df6eb444742 /agent/command-ssh.c
parentFix autoconf warnings and update config.* files. (diff)
downloadgnupg-816bee1fa0d833ac72ea4e7d52465e6e1da2645d.tar.gz
gnupg-816bee1fa0d833ac72ea4e7d52465e6e1da2645d.zip
Fixed set but unused variable bugs
Diffstat (limited to '')
-rw-r--r--agent/command-ssh.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/agent/command-ssh.c b/agent/command-ssh.c
index ae193ec94..7b4d47924 100644
--- a/agent/command-ssh.c
+++ b/agent/command-ssh.c
@@ -933,7 +933,6 @@ static gpg_error_t
ssh_receive_mpint_list (estream_t stream, int secret,
ssh_key_type_spec_t key_spec, gcry_mpi_t **mpi_list)
{
- unsigned int elems_public_n;
const char *elems_public;
unsigned int elems_n;
const char *elems;
@@ -952,7 +951,6 @@ ssh_receive_mpint_list (estream_t stream, int secret,
elems_n = strlen (elems);
elems_public = key_spec.elems_key_public;
- elems_public_n = strlen (elems_public);
mpis = xtrycalloc (elems_n + 1, sizeof *mpis );
if (!mpis)