1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-02 22:38:02 +02:00

gpg: Remove an unused variable.

* g10/getkey.c (getkey_ctx_s): Remove last_rc.
This commit is contained in:
Werner Koch 2015-01-22 09:45:45 +01:00
parent 091c35ec72
commit a23c30fb59
2 changed files with 1 additions and 3 deletions

View File

@ -52,7 +52,6 @@ struct getkey_ctx_s
KBPOS kbpos;
KBNODE found_key; /* Pointer into some keyblock. */
strlist_t extra_list; /* Will be freed when releasing the context. */
int last_rc;
int req_usage;
int req_algo;
KEYDB_HANDLE kr_handle;
@ -2587,7 +2586,6 @@ found:
release_kbnode (ctx->keyblock);
ctx->keyblock = NULL;
ctx->last_rc = rc;
return rc;
}

View File

@ -1954,7 +1954,7 @@ parse_key (IOBUF inp, int pkttype, unsigned long pktlen,
else if (version == 4)
{
/* The only supported version. Use an older gpg
versions (i.e. gpg 1.4 to parse v3 packets). */
version (i.e. gpg 1.4) to parse v3 packets. */
}
else if (version == 2 || version == 3)
{