Unreviewed, mute the unused parameter compilation warning
authortpopela@redhat.com <tpopela@redhat.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Apr 2018 12:51:35 +0000 (12:51 +0000)
committertpopela@redhat.com <tpopela@redhat.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Apr 2018 12:51:35 +0000 (12:51 +0000)
Triggered on the PPC64 machine.

* wtf/ThreadingPthreads.cpp:
(WTF::Thread::signalHandlerSuspendResume):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230201 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WTF/ChangeLog
Source/WTF/wtf/ThreadingPthreads.cpp

index c7af2b9..0cdfcb9 100644 (file)
@@ -1,5 +1,14 @@
 2018-04-03  Tomas Popela  <tpopela@redhat.com>
 
+        Unreviewed, mute the unused parameter compilation warning
+
+        Triggered on the PPC64 machine.
+
+        * wtf/ThreadingPthreads.cpp:
+        (WTF::Thread::signalHandlerSuspendResume):
+
+2018-04-03  Tomas Popela  <tpopela@redhat.com>
+
         Unreviewed, fix the unused variable compilation warning
 
         Move the ucontext_t code under the HAVE(MACHINE_CONTEXT). Triggered
index 61dad27..01edadc 100644 (file)
@@ -162,6 +162,7 @@ void Thread::signalHandlerSuspendResume(int, siginfo_t*, void* ucontext)
     ucontext_t* userContext = static_cast<ucontext_t*>(ucontext);
     thread->m_platformRegisters = &registersFromUContext(userContext);
 #else
+    UNUSED_PARAM(ucontext);
     PlatformRegisters platformRegisters { getApproximateStackPointer() };
     thread->m_platformRegisters = &platformRegisters;
 #endif