summaryrefslogtreecommitdiffstats
path: root/g10/keygen.c
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@g10code.com>2015-08-28 16:22:59 +0200
committerNeal H. Walfield <neal@g10code.com>2015-08-31 11:30:54 +0200
commit0377db4b3581561b1ffc5bb7c3b4d698e8993b3a (patch)
treee25b231e263cea210c0024abbb2d302c8156d7e5 /g10/keygen.c
parentagent: Fix SSH public key for EdDSA. (diff)
downloadgnupg2-0377db4b3581561b1ffc5bb7c3b4d698e8993b3a.tar.xz
gnupg2-0377db4b3581561b1ffc5bb7c3b4d698e8993b3a.zip
g10: Remove unused parameter.
* g10/keydb.h (keydb_locate_writable): Remove unused parameter reserved. Update users. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>.
Diffstat (limited to '')
-rw-r--r--g10/keygen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index f03c148cf..dd3755978 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -4146,7 +4146,7 @@ do_generate_keypair (struct para_data_s *para,
{
KEYDB_HANDLE pub_hd = keydb_new ();
- err = keydb_locate_writable (pub_hd, NULL);
+ err = keydb_locate_writable (pub_hd);
if (err)
log_error (_("no writable public keyring found: %s\n"),
gpg_strerror (err));