diff options
author | Werner Koch <wk@gnupg.org> | 2014-04-08 10:01:36 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-04-08 10:02:08 +0200 |
commit | 36dfc37e438660632d3a2bf5d5526be9005fa8c5 (patch) | |
tree | d6523e8c3d7839c9d1d136014bf8db38c6dbd7cb /scd | |
parent | agent: Support EdDSA. (diff) | |
download | gnupg2-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.c | 10 |
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; } |