mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
g10: Remove unused field struct getkey_ctx_s.kbpos.
* g10/getkey.c (struct getkey_ctx_s): Remove field kbpos. (getkey_end): Don't clear CTX->KBPOS. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>.
This commit is contained in:
parent
3798f73c07
commit
c110e186e0
@ -51,7 +51,6 @@ struct getkey_ctx_s
|
|||||||
{
|
{
|
||||||
int exact;
|
int exact;
|
||||||
int want_secret; /* The caller requested only secret keys. */
|
int want_secret; /* The caller requested only secret keys. */
|
||||||
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 req_usage;
|
int req_usage;
|
||||||
@ -1266,7 +1265,6 @@ getkey_end (getkey_ctx_t ctx)
|
|||||||
{
|
{
|
||||||
if (ctx)
|
if (ctx)
|
||||||
{
|
{
|
||||||
memset (&ctx->kbpos, 0, sizeof ctx->kbpos);
|
|
||||||
keydb_release (ctx->kr_handle);
|
keydb_release (ctx->kr_handle);
|
||||||
free_strlist (ctx->extra_list);
|
free_strlist (ctx->extra_list);
|
||||||
if (!ctx->not_allocated)
|
if (!ctx->not_allocated)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user