Unreviewed. Remove the build warnings below since r253488.
authorjh718.park@samsung.com <jh718.park@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Dec 2019 08:14:07 +0000 (08:14 +0000)
committerjh718.park@samsung.com <jh718.park@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Dec 2019 08:14:07 +0000 (08:14 +0000)
warning: unused parameter ‘foo’ [-Wunused-parameter]

No new tests, no behavioral changes.

Patch by Joonghun Park <jh718.park@samsung.com> on 2019-12-16

* testing/Internals.cpp:
(WebCore::Internals::hasSandboxMachLookupAccessToXPCServiceName):

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

Source/WebCore/ChangeLog
Source/WebCore/testing/Internals.cpp

index 2331328..2f7bb45 100644 (file)
@@ -1,3 +1,13 @@
+2019-12-16  Joonghun Park  <jh718.park@samsung.com>
+
+        Unreviewed. Remove the build warnings below since r253488.
+        warning: unused parameter ‘foo’ [-Wunused-parameter]
+
+        No new tests, no behavioral changes.
+
+        * testing/Internals.cpp:
+        (WebCore::Internals::hasSandboxMachLookupAccessToXPCServiceName):
+
 2019-12-16  Said Abou-Hallawa  <sabouhallawa@apple.com>
 
         WebGLRenderingContext.texImage2D() should respect EXIF orientation
index 372539c..7a9c038 100644 (file)
@@ -5374,6 +5374,8 @@ bool Internals::hasSandboxMachLookupAccessToXPCServiceName(const String& process
 
     return !sandbox_check(pid, "mach-lookup", static_cast<enum sandbox_filter_type>(SANDBOX_FILTER_XPC_SERVICE_NAME | SANDBOX_CHECK_NO_REPORT), service.utf8().data());
 #else
+    UNUSED_PARAM(process);
+    UNUSED_PARAM(service);
     return false;
 #endif
 }