1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16: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:
Zdenek Kabelac 2012-02-27 10:02:17 +00:00
parent 24d39aa142
commit 8df2c89cd4

View File

@ -355,7 +355,7 @@ void cmd_client_cleanup(struct local_client *client)
lkid = (int)(long)dm_hash_get_data(lock_hash, v);
lockname = dm_hash_get_key(lock_hash, v);
DEBUGLOG("cleanup: Unlocking lock %s %x\n", lockname, lkid);
sync_unlock(lockname, lkid);
(void) sync_unlock(lockname, lkid);
}
dm_hash_destroy(lock_hash);