aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-encrypt.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-encrypt.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-encrypt.c')
-rw-r--r--tests/gpg/t-encrypt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gpg/t-encrypt.c b/tests/gpg/t-encrypt.c
index 09474fef..6eafc00c 100644
--- a/tests/gpg/t-encrypt.c
+++ b/tests/gpg/t-encrypt.c
@@ -43,6 +43,9 @@ main (int argc, char *argv[])
gpgme_key_t key[3] = { NULL, NULL, NULL };
gpgme_encrypt_result_t result;
+ (void)argc;
+ (void)argv;
+
init_gpgme (GPGME_PROTOCOL_OpenPGP);
err = gpgme_new (&ctx);