mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
gpg: Remove an unused variable.
* g10/getkey.c (getkey_ctx_s): Remove last_rc.
This commit is contained in:
parent
091c35ec72
commit
a23c30fb59
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user