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:
NAKAMURA Takumi 2010-10-19 01:22:01 +00:00
parent 1b5de0e7ee
commit 5c0db76cf2

View File

@ -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() {