projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0919a91
)
Fix typo in assertion.
author
Owen Anderson
<resistor@mac.com>
Thu, 25 Jun 2009 23:28:28 +0000
(23:28 +0000)
committer
Owen Anderson
<resistor@mac.com>
Thu, 25 Jun 2009 23:28:28 +0000
(23:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74225
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/ThreadLocal.cpp
patch
|
blob
|
history
diff --git
a/lib/System/ThreadLocal.cpp
b/lib/System/ThreadLocal.cpp
index 8d119fbf24138b10d918acc4dad349a5b5d8aac6..74afa3e9538999710b3b2eff44c75593b978fa3a 100644
(file)
--- a/
lib/System/ThreadLocal.cpp
+++ b/
lib/System/ThreadLocal.cpp
@@
-49,7
+49,7
@@
ThreadLocalImpl::ThreadLocalImpl() : data(0) {
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;
}