commit | eb511118518f3ae622a554c3c4de2ffe32184db1 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Thu Jun 25 23:28:28 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Thu Jun 25 23:28:28 2009 +0000 |
tree | 1ed1429570547609e2cee063db174414236b9c53 | |
parent | 8b68d6fb83fe99d8320f963407d298389f5f9cbd [diff] [blame] |
Fix typo in assertion. llvm-svn: 74225
diff --git a/llvm/lib/System/ThreadLocal.cpp b/llvm/lib/System/ThreadLocal.cpp index 8d119fb..74afa3e 100644 --- a/llvm/lib/System/ThreadLocal.cpp +++ b/llvm/lib/System/ThreadLocal.cpp
@@ -49,7 +49,7 @@ ThreadLocalImpl::~ThreadLocalImpl() { pthread_key_t* key = static_cast<pthread_key_t*>(data); int errorcode = pthread_key_delete(*key); - assert(errorcode = 0); + assert(errorcode == 0); delete key; }