1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Remove unused variable.

This commit is contained in:
Tim Kosse 2015-08-11 13:44:28 +02:00 committed by Simon Tatham
parent ce9b13db53
commit 5f37d92450

View File

@ -291,7 +291,7 @@ void keylist_update(void)
} }
for (i = 0; NULL != (skey = pageant_nth_ssh2_key(i)); i++) { for (i = 0; NULL != (skey = pageant_nth_ssh2_key(i)); i++) {
char *listentry, *p; char *listentry, *p;
int pos, fp_len; int pos;
/* /*
* Replace spaces with tabs in the fingerprint prefix, for * Replace spaces with tabs in the fingerprint prefix, for
* nice alignment in the list box, until we encounter a : * nice alignment in the list box, until we encounter a :
@ -299,7 +299,6 @@ void keylist_update(void)
*/ */
p = ssh2_fingerprint(skey->alg, skey->data); p = ssh2_fingerprint(skey->alg, skey->data);
listentry = dupprintf("%s\t%s", p, skey->comment); listentry = dupprintf("%s\t%s", p, skey->comment);
fp_len = strlen(listentry);
sfree(p); sfree(p);
pos = 0; pos = 0;