summaryrefslogtreecommitdiffstats
path: root/g10/keydb.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2018-08-28 15:11:10 +0200
committerWerner Koch <wk@gnupg.org>2018-08-28 15:16:19 +0200
commitdb67ccb759426c1173761574b14bdfe6a76394c2 (patch)
tree151e370543b0255114ce01532b7db15c77b774bb /g10/keydb.h
parentgpg: Prepare for longer card fingerprints. (diff)
downloadgnupg2-db67ccb759426c1173761574b14bdfe6a76394c2.tar.xz
gnupg2-db67ccb759426c1173761574b14bdfe6a76394c2.zip
gpg: Remove unused arg from a function.
* g10/getkey.c (get_best_pubkey_byname): Remove unused arg 'no_akl'. Change both callers. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'g10/keydb.h')
-rw-r--r--g10/keydb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keydb.h b/g10/keydb.h
index 9748e571e..5ab0d5814 100644
--- a/g10/keydb.h
+++ b/g10/keydb.h
@@ -368,7 +368,7 @@ int get_pubkey_byname (ctrl_t ctrl,
gpg_error_t get_best_pubkey_byname (ctrl_t ctrl,
GETKEY_CTX *retctx, PKT_public_key *pk,
const char *name, KBNODE *ret_keyblock,
- int include_unusable, int no_akl);
+ int include_unusable);
/* Get a public key directly from file FNAME. */
gpg_error_t get_pubkey_fromfile (ctrl_t ctrl,