forked from OSchip/llvm-project
lib/System/Win32/ThreadLocal.inc: Suppress "unused" warning on -Asserts.
llvm-svn: 116785
This commit is contained in:
parent
fe84f39adb
commit
898fbd82a5
|
@ -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