diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-10-19 01:22:01 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-10-19 01:22:01 +0000 |
commit | 5c0db76cf262bec095c6b52ba0aa6e095f9f8298 (patch) | |
tree | b1696187bee19e2f08991c21d8ee99bcdef37c55 /lib/System/Win32 | |
parent | 1b5de0e7ee9e604d041cda1af544e27971ebeb81 (diff) | |
download | external_llvm-5c0db76cf262bec095c6b52ba0aa6e095f9f8298.zip external_llvm-5c0db76cf262bec095c6b52ba0aa6e095f9f8298.tar.gz external_llvm-5c0db76cf262bec095c6b52ba0aa6e095f9f8298.tar.bz2 |
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
Diffstat (limited to 'lib/System/Win32')
-rw-r--r-- | lib/System/Win32/ThreadLocal.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/System/Win32/ThreadLocal.inc b/lib/System/Win32/ThreadLocal.inc index b8b933c..e7e3cb7 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() { |