aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-keylist-sig.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-09-13 18:48:06 +0000
committerWerner Koch <[email protected]>2016-09-13 18:48:06 +0000
commit9064eebdc05e7149c2c8cc899fbd7874622fb769 (patch)
treee5bffc999f3c38f13cde215945ae8683a5e0c891 /tests/gpg/t-keylist-sig.c
parenttests: Use gpgme_io_write in passhrase callbacks. (diff)
downloadgpgme-9064eebdc05e7149c2c8cc899fbd7874622fb769.tar.gz
gpgme-9064eebdc05e7149c2c8cc899fbd7874622fb769.zip
tests: Mark lots of unused vars and fix const mismatches.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tests/gpg/t-keylist-sig.c')
-rw-r--r--tests/gpg/t-keylist-sig.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/gpg/t-keylist-sig.c b/tests/gpg/t-keylist-sig.c
index ec306249..fdec7ca2 100644
--- a/tests/gpg/t-keylist-sig.c
+++ b/tests/gpg/t-keylist-sig.c
@@ -36,20 +36,20 @@
struct
{
- char *fpr;
- char *sec_keyid;
+ const char *fpr;
+ const char *sec_keyid;
struct
{
- char *name;
- char *comment;
- char *email;
+ const char *name;
+ const char *comment;
+ const char *email;
struct
{
gpgme_pubkey_algo_t algo;
- char *keyid;
- char *name;
- char *comment;
- char *email;
+ const char *keyid;
+ const char *name;
+ const char *comment;
+ const char *email;
unsigned int sig_class;
int exportable;
} sig;
@@ -72,7 +72,7 @@ keys[] =
int
-main (int argc, char **argv)
+main (void)
{
gpgme_error_t err;
gpgme_ctx_t ctx;