summaryrefslogtreecommitdiff
path: root/contrib/libc++/src/mutex.cpp
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2012-03-14 00:09:36 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2012-03-14 00:09:36 +0000
commit94e3ee44c3581ff37c5e01b5ffe5eb16d30079a7 (patch)
tree077f044b08d256dd8348f977fe56d18c08fccd78 /contrib/libc++/src/mutex.cpp
parent064f517d2b6ebfc42bf636d3fb85ac815196f134 (diff)
parent362d815b81e2b4b66c33b99203d821b8928607e1 (diff)
Notes
Diffstat (limited to 'contrib/libc++/src/mutex.cpp')
-rw-r--r--contrib/libc++/src/mutex.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/libc++/src/mutex.cpp b/contrib/libc++/src/mutex.cpp
index 16817198b37c..9aa051be37f2 100644
--- a/contrib/libc++/src/mutex.cpp
+++ b/contrib/libc++/src/mutex.cpp
@@ -20,8 +20,7 @@ const adopt_lock_t adopt_lock = {};
mutex::~mutex()
{
- int e = pthread_mutex_destroy(&__m_);
-// assert(e == 0);
+ pthread_mutex_destroy(&__m_);
}
void