mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
Fix typo in assertion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74225 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0919a916bf
commit
7e026b74dd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user