mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
lib/System/Win32/ThreadLocal.inc: Suppress "unused" warning on -Asserts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116785 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1b5de0e7ee
commit
5c0db76cf2
@ -44,6 +44,7 @@ void ThreadLocalImpl::setInstance(const void* d){
|
||||
DWORD* tls = static_cast<DWORD*>(data);
|
||||
int errorcode = TlsSetValue(*tls, const_cast<void*>(d));
|
||||
assert(errorcode != 0);
|
||||
(void)errorcode;
|
||||
}
|
||||
|
||||
void ThreadLocalImpl::removeInstance() {
|
||||
|
Loading…
Reference in New Issue
Block a user