mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-13 00:58:47 +03:00
Explicitely ignore result from sync_unlock()
Make it obvious to analyzer - we can't do anything better here anyway.
This commit is contained in:
parent
61a6481305
commit
1b197085b3
@ -355,7 +355,7 @@ void cmd_client_cleanup(struct local_client *client)
|
|||||||
lkid = (int)(long)dm_hash_get_data(lock_hash, v);
|
lkid = (int)(long)dm_hash_get_data(lock_hash, v);
|
||||||
lockname = dm_hash_get_key(lock_hash, v);
|
lockname = dm_hash_get_key(lock_hash, v);
|
||||||
DEBUGLOG("cleanup: Unlocking lock %s %x\n", lockname, lkid);
|
DEBUGLOG("cleanup: Unlocking lock %s %x\n", lockname, lkid);
|
||||||
sync_unlock(lockname, lkid);
|
(void) sync_unlock(lockname, lkid);
|
||||||
}
|
}
|
||||||
|
|
||||||
dm_hash_destroy(lock_hash);
|
dm_hash_destroy(lock_hash);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user