commit | c3829824a6635b6aa7149d3fb4f9a6bb61de7888 | [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 | e800bc5778fcd106f8d3f060521f1e3e5ff9740c | |
parent | dcc219682d5930b689dc349436f455165cd8fdb0 [diff] [blame] |
Fix typo in assertion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74225 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/System/ThreadLocal.cpp b/lib/System/ThreadLocal.cpp index 8d119fb..74afa3e 100644 --- a/lib/System/ThreadLocal.cpp +++ b/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; }