summaryrefslogtreecommitdiffstats
path: root/Source/JavaScriptCore/wtf/ThreadingPthreads.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/wtf/ThreadingPthreads.cpp')
-rw-r--r--Source/JavaScriptCore/wtf/ThreadingPthreads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/wtf/ThreadingPthreads.cpp b/Source/JavaScriptCore/wtf/ThreadingPthreads.cpp
index bd4690f..aa63f33 100644
--- a/Source/JavaScriptCore/wtf/ThreadingPthreads.cpp
+++ b/Source/JavaScriptCore/wtf/ThreadingPthreads.cpp
@@ -165,7 +165,7 @@ ThreadIdentifier createThreadInternal(ThreadFunction entryPoint, void* data, con
}
// The thread will take ownership of invocation.
- invocation.leakPtr();
+ ThreadFunctionInvocation* unused = invocation.leakPtr();
return establishIdentifierForPthreadHandle(threadHandle);
}