1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

gpg: Remove an unused variable.

* g10/delkey.c (do_delete_key): here.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2019-11-06 14:47:29 +01:00
parent 584b65ad7e
commit fd88b8847a
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -275,8 +275,6 @@ do_delete_key (ctrl_t ctrl, const char *username, int secret, int force,
}
else if (thiskeyonly == 2)
{
int selected = 0;
/* Delete the specified public subkey. */
for (kbctx=NULL; (node = walk_kbnode (keyblock, &kbctx, 0)); )
if (targetnode == node)