lib/System/Win32/ThreadLocal.inc: Suppress "unused" warning on -Asserts.

llvm-svn: 116785
This commit is contained in:
NAKAMURA Takumi 2010-10-19 01:22:01 +00:00
parent fe84f39adb
commit 898fbd82a5
1 changed files with 1 additions and 0 deletions

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