mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-13 22:21:09 +02: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;
|
KBPOS kbpos;
|
||||||
KBNODE found_key; /* Pointer into some keyblock. */
|
KBNODE found_key; /* Pointer into some keyblock. */
|
||||||
strlist_t extra_list; /* Will be freed when releasing the context. */
|
strlist_t extra_list; /* Will be freed when releasing the context. */
|
||||||
int last_rc;
|
|
||||||
int req_usage;
|
int req_usage;
|
||||||
int req_algo;
|
int req_algo;
|
||||||
KEYDB_HANDLE kr_handle;
|
KEYDB_HANDLE kr_handle;
|
||||||
@ -2587,7 +2586,6 @@ found:
|
|||||||
release_kbnode (ctx->keyblock);
|
release_kbnode (ctx->keyblock);
|
||||||
ctx->keyblock = NULL;
|
ctx->keyblock = NULL;
|
||||||
|
|
||||||
ctx->last_rc = rc;
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1954,7 +1954,7 @@ parse_key (IOBUF inp, int pkttype, unsigned long pktlen,
|
|||||||
else if (version == 4)
|
else if (version == 4)
|
||||||
{
|
{
|
||||||
/* The only supported version. Use an older gpg
|
/* 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)
|
else if (version == 2 || version == 3)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user