summaryrefslogtreecommitdiff
path: root/src/include/mutex.i
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-02-11 16:32:30 -0500
committerKeith Bostic <keith@wiredtiger.com>2015-02-11 16:32:30 -0500
commit49be7d68f0ba495a75d19487290418dfe44c3578 (patch)
tree6afd69ca9f92833921edabc3b063cdb775e6c4ed /src/include/mutex.i
parenta649c5fa7db5998c17aa460a40b1f104561950b7 (diff)
downloadmongo-49be7d68f0ba495a75d19487290418dfe44c3578.tar.gz
CID 44220: Ignore pthread_mutex_unlock return (__wt_spin_unlock returns
no error, and it's not worth inlining an error message).
Diffstat (limited to 'src/include/mutex.i')
-rw-r--r--src/include/mutex.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/mutex.i b/src/include/mutex.i
index cf81abcc4da..e4b497af2a7 100644
--- a/src/include/mutex.i
+++ b/src/include/mutex.i
@@ -285,7 +285,7 @@ __wt_spin_unlock(WT_SESSION_IMPL *session, WT_SPINLOCK *t)
{
WT_UNUSED(session);
- pthread_mutex_unlock(&t->lock);
+ (void)pthread_mutex_unlock(&t->lock);
}
#elif SPINLOCK_TYPE == SPINLOCK_MSVC