From 986d9857513804f79bf5b8d2c03daf4caa492e8b Mon Sep 17 00:00:00 2001 From: Steve Block Date: Thu, 19 May 2011 14:44:02 +0100 Subject: Fix some compiler warnings Change-Id: I4c5fde4898313b26c9a97bd9571b02eaeb35c684 --- Source/JavaScriptCore/wtf/ThreadingPthreads.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/JavaScriptCore') 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); } -- cgit v1.1