mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Marked all unused args on non-W32 platforms.
This commit is contained in:
parent
e1f4154d75
commit
0a5f742466
84 changed files with 864 additions and 224 deletions
|
@ -158,6 +158,8 @@ update_offset_hash_table (OffsetHashTable tbl, u32 *kid, off_t off)
|
|||
{
|
||||
struct off_item *k;
|
||||
|
||||
(void)off;
|
||||
|
||||
for (k = tbl[(kid[1] & 0x07ff)]; k; k = k->next)
|
||||
{
|
||||
if (k->kid[0] == kid[0] && k->kid[1] == kid[1])
|
||||
|
@ -288,7 +290,7 @@ keyring_get_resource_name (KEYRING_HANDLE hd)
|
|||
|
||||
|
||||
/*
|
||||
* Lock the keyring with the given handle, or unlok if yes is false.
|
||||
* Lock the keyring with the given handle, or unlock if YES is false.
|
||||
* We ignore the handle and lock all registered files.
|
||||
*/
|
||||
int
|
||||
|
@ -297,6 +299,8 @@ keyring_lock (KEYRING_HANDLE hd, int yes)
|
|||
KR_NAME kr;
|
||||
int rc = 0;
|
||||
|
||||
(void)hd;
|
||||
|
||||
if (yes) {
|
||||
/* first make sure the lock handles are created */
|
||||
for (kr=kr_names; kr; kr = kr->next) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue