summaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-04-08 10:01:36 +0200
committerWerner Koch <wk@gnupg.org>2014-04-08 10:02:08 +0200
commit36dfc37e438660632d3a2bf5d5526be9005fa8c5 (patch)
treed6523e8c3d7839c9d1d136014bf8db38c6dbd7cb /scd
parentagent: Support EdDSA. (diff)
downloadgnupg2-36dfc37e438660632d3a2bf5d5526be9005fa8c5.tar.xz
gnupg2-36dfc37e438660632d3a2bf5d5526be9005fa8c5.zip
scd: Silent compiler warnings about unused variables.
* scd/app-openpgp.c (build_ecdsa_privkey_template): Mark unused arg. (ecdh_writekey): Mark unused args. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'scd')
-rw-r--r--scd/app-openpgp.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index da1bec946..b1599fb43 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -2710,6 +2710,8 @@ build_ecdsa_privkey_template (app_t app, int keyno,
unsigned char *template;
size_t template_size;
+ (void)app;
+
*result = NULL;
*resultlen = 0;
@@ -3174,6 +3176,14 @@ ecdh_writekey (app_t app, gpg_error_t (*pincb)(void*, const char *, char **),
void *pincb_arg, int keyno,
const unsigned char *buf, size_t buflen, int depth)
{
+ (void)app;
+ (void)pincb;
+ (void)pincb_arg;
+ (void)keyno;
+ (void)buf;
+ (void)buflen;
+ (void)depth;
+
return GPG_ERR_NOT_IMPLEMENTED;
}