From 0a5f7424660e404e5fd0361b9331d154acf01d6c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 20 Oct 2008 13:53:23 +0000 Subject: Marked all unused args on non-W32 platforms. --- g10/trustdb.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'g10/trustdb.c') diff --git a/g10/trustdb.c b/g10/trustdb.c index ff218ad80..265b8830d 100644 --- a/g10/trustdb.c +++ b/g10/trustdb.c @@ -1213,6 +1213,7 @@ get_validity_counts (PKT_public_key *pk, PKT_user_id *uid) void list_trust_path( const char *username ) { + (void)username; } /**************** @@ -1237,7 +1238,11 @@ int enum_cert_paths( void **context, ulong *lid, unsigned *ownertrust, unsigned *validity ) { - return -1; + (void)context; + (void)lid; + (void)ownertrust; + (void)validity; + return -1; } @@ -1245,10 +1250,13 @@ enum_cert_paths( void **context, ulong *lid, * Print the current path */ void -enum_cert_paths_print( void **context, FILE *fp, - int refresh, ulong selected_lid ) +enum_cert_paths_print (void **context, FILE *fp, + int refresh, ulong selected_lid) { - return; + (void)context; + (void)fp; + (void)refresh; + (void)selected_lid; } @@ -2006,6 +2014,7 @@ validate_one_keyblock (KBNODE kb, struct key_item *klist, static int search_skipfnc (void *opaque, u32 *kid, PKT_user_id *dummy) { + (void)dummy; return test_key_hash_table ((KeyHashTable)opaque, kid); } -- cgit v1.2.3