[WPE] Silence a unused-parameter warning
authorcsaavedra@igalia.com <csaavedra@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Oct 2018 11:53:45 +0000 (11:53 +0000)
committercsaavedra@igalia.com <csaavedra@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Oct 2018 11:53:45 +0000 (11:53 +0000)
Unreviewed.
* MiniBrowser/wpe/main.cpp:
(decidePermissionRequest):

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

Tools/ChangeLog
Tools/MiniBrowser/wpe/main.cpp

index 37842f4..993147f 100644 (file)
@@ -1,3 +1,11 @@
+2018-10-15  Claudio Saavedra  <csaavedra@igalia.com>
+
+        [WPE] Silence a unused-parameter warning
+
+        Unreviewed.
+        * MiniBrowser/wpe/main.cpp:
+        (decidePermissionRequest):
+
 2018-10-12  Guillaume Emont  <guijemont@igalia.com>
 
         [Tools][webkitpy] fix handling of JSCTESTS_OPTIONS
index 2088cd4..d682b0e 100644 (file)
@@ -92,7 +92,7 @@ static void automationStartedCallback(WebKitWebContext*, WebKitAutomationSession
     g_signal_connect(session, "create-web-view", G_CALLBACK(createWebViewForAutomationCallback), view);
 }
 
-static gboolean decidePermissionRequest(WebKitWebView *webView, WebKitPermissionRequest *request, gpointer unused_udata)
+static gboolean decidePermissionRequest(WebKitWebView *, WebKitPermissionRequest *request, gpointer)
 {
     g_print("Accepting %s request\n", G_OBJECT_TYPE_NAME(request));
     webkit_permission_request_allow(request);