diff options
author | Werner Koch <wk@gnupg.org> | 2015-01-22 09:45:45 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2015-01-22 09:45:57 +0100 |
commit | a23c30fb59c0a216763a7972028995d3be42a844 (patch) | |
tree | 4a8c4eb432a1920e12796d35059362f1cdbe792a | |
parent | dirmngr: Fix TLS build problems. (diff) | |
download | gnupg2-a23c30fb59c0a216763a7972028995d3be42a844.tar.xz gnupg2-a23c30fb59c0a216763a7972028995d3be42a844.zip |
gpg: Remove an unused variable.
* g10/getkey.c (getkey_ctx_s): Remove last_rc.
-rw-r--r-- | g10/getkey.c | 2 | ||||
-rw-r--r-- | g10/parse-packet.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/g10/getkey.c b/g10/getkey.c index f8cb869a7..9267dbbdd 100644 --- a/g10/getkey.c +++ b/g10/getkey.c @@ -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; } diff --git a/g10/parse-packet.c b/g10/parse-packet.c index 1de7307f1..f3b4f49b5 100644 --- a/g10/parse-packet.c +++ b/g10/parse-packet.c @@ -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) { |