From 8df2c89cd454497d3e59da53d146eb7fa90e98d8 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 27 Feb 2012 10:02:17 +0000 Subject: [PATCH] Explicitely ignore result from sync_unlock() Make it obvious to analyzer - we can't do anything better here anyway. --- daemons/clvmd/clvmd-command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemons/clvmd/clvmd-command.c b/daemons/clvmd/clvmd-command.c index fc2c0bad0..540622ba3 100644 --- a/daemons/clvmd/clvmd-command.c +++ b/daemons/clvmd/clvmd-command.c @@ -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); -- 2.43.5