diff options
author | Werner Koch <[email protected]> | 2008-10-20 13:53:23 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2008-10-20 13:53:23 +0000 |
commit | 0a5f7424660e404e5fd0361b9331d154acf01d6c (patch) | |
tree | b84fb5a994045e12eb326441d8c924094bd915cd /tools/gpgparsemail.c | |
parent | Fix a bug in estream_snprintf. Found by a failed t-gettime under Windows. (diff) | |
download | gnupg-0a5f7424660e404e5fd0361b9331d154acf01d6c.tar.gz gnupg-0a5f7424660e404e5fd0361b9331d154acf01d6c.zip |
Marked all unused args on non-W32 platforms.
Diffstat (limited to 'tools/gpgparsemail.c')
-rw-r--r-- | tools/gpgparsemail.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/gpgparsemail.c b/tools/gpgparsemail.c index 525c604ba..6265efc93 100644 --- a/tools/gpgparsemail.c +++ b/tools/gpgparsemail.c @@ -349,6 +349,9 @@ mime_signed_begin (struct parse_info_s *info, rfc822parse_t msg, rfc822parse_field_t field_ctx) { const char *s; + + (void)msg; + s = rfc822parse_query_parameter (field_ctx, "protocol", 1); if (s) { @@ -391,6 +394,10 @@ mime_encrypted_begin (struct parse_info_s *info, rfc822parse_t msg, rfc822parse_field_t field_ctx) { const char *s; + + (void)info; + (void)msg; + s = rfc822parse_query_parameter (field_ctx, "protocol", 0); if (s) printf ("h encrypted.protocol: %s\n", s); @@ -403,6 +410,9 @@ pkcs7_begin (struct parse_info_s *info, rfc822parse_t msg, rfc822parse_field_t field_ctx) { const char *s; + + (void)msg; + s = rfc822parse_query_parameter (field_ctx, "name", 0); if (s) printf ("h pkcs7.name: %s\n", s); |