From f83504da2344320b7f4e48133314a63db13d41db Mon Sep 17 00:00:00 2001 From: "commit-queue@webkit.org" Date: Fri, 8 Feb 2013 00:27:31 +0000 Subject: [PATCH] Fix build warning after r142017 https://bugs.webkit.org/show_bug.cgi?id=109119 Patch by KwangYong Choi on 2013-02-07 Reviewed by Alexey Proskuryakov. Use UNUSED_PARAM macro to fix -Wunused-parameter build warning. * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::getPluginPath): git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142201 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebKit2/ChangeLog | 12 ++++++++++++ Source/WebKit2/UIProcess/WebPageProxy.cpp | 2 ++ 2 files changed, 14 insertions(+) diff --git a/Source/WebKit2/ChangeLog b/Source/WebKit2/ChangeLog index ab4c339b8e17..526c761386c9 100644 --- a/Source/WebKit2/ChangeLog +++ b/Source/WebKit2/ChangeLog @@ -1,3 +1,15 @@ +2013-02-07 KwangYong Choi + + Fix build warning after r142017 + https://bugs.webkit.org/show_bug.cgi?id=109119 + + Reviewed by Alexey Proskuryakov. + + Use UNUSED_PARAM macro to fix -Wunused-parameter build warning. + + * UIProcess/WebPageProxy.cpp: + (WebKit::WebPageProxy::getPluginPath): + 2013-02-07 Martin Robinson [GTK] Cleanup command-line defines diff --git a/Source/WebKit2/UIProcess/WebPageProxy.cpp b/Source/WebKit2/UIProcess/WebPageProxy.cpp index 9de518fe92c5..c6544b73e1fe 100644 --- a/Source/WebKit2/UIProcess/WebPageProxy.cpp +++ b/Source/WebKit2/UIProcess/WebPageProxy.cpp @@ -1255,6 +1255,8 @@ void WebPageProxy::getPluginPath(const String& mimeType, const String& urlString #if PLATFORM(MAC) PluginModuleLoadPolicy currentPluginLoadPolicy = static_cast(pluginLoadPolicy); pluginLoadPolicy = m_uiClient.pluginLoadPolicy(this, plugin.bundleIdentifier, plugin.info.name, documentURLString, currentPluginLoadPolicy); +#else + UNUSED_PARAM(documentURLString); #endif if (pluginLoadPolicy != PluginModuleLoadNormally) -- 2.36.0