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 /sm/keydb.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 'sm/keydb.c')
-rw-r--r-- | sm/keydb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sm/keydb.c b/sm/keydb.c index a6efcc4cd..26f195cbb 100644 --- a/sm/keydb.c +++ b/sm/keydb.c @@ -803,6 +803,8 @@ int keydb_locate_writable (KEYDB_HANDLE hd, const char *reserved) { int rc; + + (void)reserved; if (!hd) return gpg_error (GPG_ERR_INV_VALUE); @@ -942,6 +944,8 @@ int keydb_search_kid (KEYDB_HANDLE hd, u32 *kid) { KEYDB_SEARCH_DESC desc; + + (void)kid; memset (&desc, 0, sizeof desc); desc.mode = KEYDB_SEARCH_MODE_LONG_KID; @@ -1447,6 +1451,8 @@ keydb_clear_some_cert_flags (ctrl_t ctrl, strlist_t names) strlist_t sl; int rc=0; unsigned int old_value, value; + + (void)ctrl; hd = keydb_new (0); if (!hd) |