summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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