aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2010-10-19 01:22:01 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2010-10-19 01:22:01 +0000
commit5c0db76cf262bec095c6b52ba0aa6e095f9f8298 (patch)
treeb1696187bee19e2f08991c21d8ee99bcdef37c55
parent1b5de0e7ee9e604d041cda1af544e27971ebeb81 (diff)
downloadexternal_llvm-5c0db76cf262bec095c6b52ba0aa6e095f9f8298.tar.gz
external_llvm-5c0db76cf262bec095c6b52ba0aa6e095f9f8298.tar.bz2
external_llvm-5c0db76cf262bec095c6b52ba0aa6e095f9f8298.zip
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
-rw-r--r--lib/System/Win32/ThreadLocal.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/System/Win32/ThreadLocal.inc b/lib/System/Win32/ThreadLocal.inc
index b8b933c4d2..e7e3cb7ce1 100644
--- a/lib/System/Win32/ThreadLocal.inc
+++ b/lib/System/Win32/ThreadLocal.inc
@@ -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() {