[llvm-commits] [llvm] r116785 - /llvm/trunk/lib/System/Win32/ThreadLocal.inc
NAKAMURA Takumi
geek4civic at gmail.com
Mon Oct 18 18:22:02 PDT 2010
Author: chapuni
Date: Mon Oct 18 20:22:01 2010
New Revision: 116785
URL: http://llvm.org/viewvc/llvm-project?rev=116785&view=rev
Log:
lib/System/Win32/ThreadLocal.inc: Suppress "unused" warning on -Asserts.
Modified:
llvm/trunk/lib/System/Win32/ThreadLocal.inc
Modified: llvm/trunk/lib/System/Win32/ThreadLocal.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Win32/ThreadLocal.inc?rev=116785&r1=116784&r2=116785&view=diff
==============================================================================
--- llvm/trunk/lib/System/Win32/ThreadLocal.inc (original)
+++ llvm/trunk/lib/System/Win32/ThreadLocal.inc Mon Oct 18 20:22:01 2010
@@ -44,6 +44,7 @@
DWORD* tls = static_cast<DWORD*>(data);
int errorcode = TlsSetValue(*tls, const_cast<void*>(d));
assert(errorcode != 0);
+ (void)errorcode;
}
void ThreadLocalImpl::removeInstance() {
More information about the llvm-commits
mailing list