projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b5de0e
)
lib/System/Win32/ThreadLocal.inc: Suppress "unused" warning on -Asserts.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 19 Oct 2010 01:22:01 +0000
(
01:22
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 19 Oct 2010 01:22:01 +0000
(
01:22
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116785
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Win32/ThreadLocal.inc
patch
|
blob
|
history
diff --git
a/lib/System/Win32/ThreadLocal.inc
b/lib/System/Win32/ThreadLocal.inc
index b8b933c4d29d9f8ae87bc436bb877dee4ac02a8d..e7e3cb7ce11d0279a9d8adeba6b7ae3fb5ed64f8 100644
(file)
--- 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() {