aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2008-10-20 13:53:23 +0000
committerWerner Koch <[email protected]>2008-10-20 13:53:23 +0000
commit0a5f7424660e404e5fd0361b9331d154acf01d6c (patch)
treeb84fb5a994045e12eb326441d8c924094bd915cd /g10/trustdb.c
parentFix a bug in estream_snprintf. Found by a failed t-gettime under Windows. (diff)
downloadgnupg-0a5f7424660e404e5fd0361b9331d154acf01d6c.tar.gz
gnupg-0a5f7424660e404e5fd0361b9331d154acf01d6c.zip
Marked all unused args on non-W32 platforms.
Diffstat (limited to 'g10/trustdb.c')
-rw-r--r--g10/trustdb.c17
1 files changed, 13 insertions, 4 deletions
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);
}