]> sourceware.org Git - lvm2.git/commitdiff
Explicitely ignore result from sync_unlock()
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 27 Feb 2012 10:02:17 +0000 (10:02 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 27 Feb 2012 10:02:17 +0000 (10:02 +0000)
Make it obvious to analyzer - we can't do anything better here anyway.

daemons/clvmd/clvmd-command.c

index fc2c0bad080a893133ab515125435cfbfb2f17c1..540622ba3bf14286df1416bb513538d2a6d4cb09 100644 (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);
This page took 0.031634 seconds and 5 git commands to generate.