1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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>
This commit is contained in:
Werner Koch 2014-04-08 10:01:36 +02:00
parent 5ff6d0c25e
commit 36dfc37e43

View File

@ -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;
}