[llvm-commits] [llvm] r74225 - /llvm/trunk/lib/System/ThreadLocal.cpp
Owen Anderson
resistor at mac.com
Thu Jun 25 16:28:29 PDT 2009
Author: resistor
Date: Thu Jun 25 18:28:28 2009
New Revision: 74225
URL: http://llvm.org/viewvc/llvm-project?rev=74225&view=rev
Log:
Fix typo in assertion.
Modified:
llvm/trunk/lib/System/ThreadLocal.cpp
Modified: llvm/trunk/lib/System/ThreadLocal.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/ThreadLocal.cpp?rev=74225&r1=74224&r2=74225&view=diff
==============================================================================
--- llvm/trunk/lib/System/ThreadLocal.cpp (original)
+++ llvm/trunk/lib/System/ThreadLocal.cpp Thu Jun 25 18:28:28 2009
@@ -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;
}
More information about the llvm-commits
mailing list