From db67ccb759426c1173761574b14bdfe6a76394c2 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 28 Aug 2018 15:11:10 +0200 Subject: 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 --- g10/pkclist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/pkclist.c') diff --git a/g10/pkclist.c b/g10/pkclist.c index e7484432a..46258bf85 100644 --- a/g10/pkclist.c +++ b/g10/pkclist.c @@ -834,7 +834,7 @@ find_and_check_key (ctrl_t ctrl, const char *name, unsigned int use, if (from_file) rc = get_pubkey_fromfile (ctrl, pk, name); else - rc = get_best_pubkey_byname (ctrl, NULL, pk, name, &keyblock, 0, 0); + rc = get_best_pubkey_byname (ctrl, NULL, pk, name, &keyblock, 0); if (rc) { int code; -- cgit v1.2.3