gpg: Remove an unused variable.
authorWerner Koch <wk@gnupg.org>
Wed, 6 Nov 2019 13:47:29 +0000 (14:47 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 6 Nov 2019 13:47:29 +0000 (14:47 +0100)
* g10/delkey.c (do_delete_key): here.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/delkey.c

index 41bd705..167a7bc 100644 (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)