core: Defer implementation of gpgme_op_createkey with gpg < 2.1
authorWerner Koch <wk@gnupg.org>
Wed, 14 Sep 2016 17:02:40 +0000 (19:02 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 14 Sep 2016 17:02:40 +0000 (19:02 +0200)
* src/engine-gpg.c (gpg_createkey_legacy): Mark unused variables.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/engine-gpg.c

index dc0906d..ac85c4d 100644 (file)
@@ -2056,6 +2056,12 @@ gpg_createkey_legacy (engine_gpg_t gpg,
                unsigned int flags,
                unsigned int extraflags)
 {
+  (void)gpg;
+  (void)userid;
+  (void)algo;
+  (void)expires;
+  (void)flags;
+  (void)extraflags;
   return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
 }