summaryrefslogtreecommitdiffstats
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
commit898fbd82a5effff2d22767c3738de368bfed069d (patch)
tree1e40128acaca5981b51f5febf0f05dffd00be6b7
parentfe84f39adb77a40530b933d33c4874ccc0f3c863 (diff)
downloadbcm5719-llvm-898fbd82a5effff2d22767c3738de368bfed069d.tar.gz
bcm5719-llvm-898fbd82a5effff2d22767c3738de368bfed069d.zip
lib/System/Win32/ThreadLocal.inc: Suppress "unused" warning on -Asserts.
llvm-svn: 116785
-rw-r--r--llvm/lib/System/Win32/ThreadLocal.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/System/Win32/ThreadLocal.inc b/llvm/lib/System/Win32/ThreadLocal.inc
index b8b933c4d29..e7e3cb7ce11 100644
--- a/llvm/lib/System/Win32/ThreadLocal.inc
+++ b/llvm/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() {
OpenPOWER on IntegriCloud