diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-01-31 23:10:50 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-01-31 23:10:50 +0000 |
commit | 7abd078c4f7e61e87f9394c6662be027fe0253b2 (patch) | |
tree | 05bcd9a94afc36df3040c2efc6ab9ec0607e55ae | |
parent | c0931fd23e065521237530cd6f9f6068f259e4e1 (diff) | |
download | cmogstored-7abd078c4f7e61e87f9394c6662be027fe0253b2.tar.gz |
Noticed with gcc 4.7.2 in Debian testing (4.7.2-5)
-rw-r--r-- | ioutil.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -138,9 +138,7 @@ void mog_iou_write(dev_t st_dev, char buf[MOG_IOUTIL_LEN]) /* marks the given device as in-use */ void mog_iou_active(dev_t st_dev) { - struct ioutil *iou; - CHECK(int, 0, pthread_mutex_lock(&iou_lock)); - iou = iou_vivify(st_dev); + (void)iou_vivify(st_dev); CHECK(int, 0, pthread_mutex_unlock(&iou_lock)); } |