aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/Win32/ThreadLocal.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Win32/ThreadLocal.inc')
-rw-r--r--lib/System/Win32/ThreadLocal.inc1
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() {