diff options
| author | Werner Koch <[email protected]> | 2016-09-13 18:48:06 +0000 | 
|---|---|---|
| committer | Werner Koch <[email protected]> | 2016-09-13 18:48:06 +0000 | 
| commit | 9064eebdc05e7149c2c8cc899fbd7874622fb769 (patch) | |
| tree | e5bffc999f3c38f13cde215945ae8683a5e0c891 /tests/gpg/t-decrypt-verify.c | |
| parent | tests: Use gpgme_io_write in passhrase callbacks. (diff) | |
| download | gpgme-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 '')
| -rw-r--r-- | tests/gpg/t-decrypt-verify.c | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/tests/gpg/t-decrypt-verify.c b/tests/gpg/t-decrypt-verify.c index 823655fc..b774cfdd 100644 --- a/tests/gpg/t-decrypt-verify.c +++ b/tests/gpg/t-decrypt-verify.c @@ -37,7 +37,7 @@  static void  check_verify_result (gpgme_verify_result_t result, unsigned int summary, -		     char *fpr, gpgme_error_t status) +		     const char *fpr, gpgme_error_t status)  {    gpgme_signature_t sig; @@ -104,6 +104,9 @@ main (int argc, char *argv[])    char *cipher_2_asc = make_filename ("cipher-2.asc");    char *agent_info; +  (void)argc; +  (void)argv; +    init_gpgme (GPGME_PROTOCOL_OpenPGP);    err = gpgme_new (&ctx); | 
