Fix typo in assertion.

llvm-svn: 74225
This commit is contained in:
Owen Anderson 2009-06-25 23:28:28 +00:00
parent 8b68d6fb83
commit eb51111851
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}