Title: [131397] trunk/Source
Revision
131397
Author
commit-qu...@webkit.org
Date
2012-10-15 19:05:47 -0700 (Mon, 15 Oct 2012)

Log Message

Fix unused parameter build warning.
https://bugs.webkit.org/show_bug.cgi?id=99400

Patch by Byungwoo Lee <bw80....@samsung.com> on 2012-10-15
Reviewed by Gyuyoung Kim.

Remove the name of unused parameters to fix the build warning (-Wunused-parameter).

Source/WebCore:

* platform/network/soup/ResourceErrorSoup.cpp:
(WebCore::ResourceError::tlsError):

Source/WebKit2:

* Shared/soup/WebCoreArgumentCodersSoup.cpp:
(CoreIPC::::encodePlatformData):
(CoreIPC::::decodePlatformData):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::getSharedWorkerProcessConnection):
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::handleEditingCommand):
(WebKit::NetscapePlugin::isEditingCommandEnabled):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (131396 => 131397)


--- trunk/Source/WebCore/ChangeLog	2012-10-16 01:59:54 UTC (rev 131396)
+++ trunk/Source/WebCore/ChangeLog	2012-10-16 02:05:47 UTC (rev 131397)
@@ -1,3 +1,15 @@
+2012-10-15  Byungwoo Lee  <bw80....@samsung.com>
+
+        Fix unused parameter build warning.
+        https://bugs.webkit.org/show_bug.cgi?id=99400
+
+        Reviewed by Gyuyoung Kim.
+
+        Remove the name of unused parameters to fix the build warning (-Wunused-parameter).
+
+        * platform/network/soup/ResourceErrorSoup.cpp:
+        (WebCore::ResourceError::tlsError):
+
 2012-10-15  Kenichi Ishibashi  <ba...@chromium.org>
 
         [WebSocket] WebSocketInflater should handle BFINAL = 1 blocks

Modified: trunk/Source/WebCore/platform/network/soup/ResourceErrorSoup.cpp (131396 => 131397)


--- trunk/Source/WebCore/platform/network/soup/ResourceErrorSoup.cpp	2012-10-16 01:59:54 UTC (rev 131396)
+++ trunk/Source/WebCore/platform/network/soup/ResourceErrorSoup.cpp	2012-10-16 02:05:47 UTC (rev 131397)
@@ -56,7 +56,7 @@
         failingURI(request), String::fromUTF8(error->message));
 }
 
-ResourceError ResourceError::tlsError(SoupRequest* request, unsigned tlsErrors, GTlsCertificate* certificate)
+ResourceError ResourceError::tlsError(SoupRequest* request, unsigned /* tlsErrors */, GTlsCertificate*)
 {
     return ResourceError(g_quark_to_string(SOUP_HTTP_ERROR), SOUP_STATUS_SSL_FAILED,
         failingURI(request), unacceptableTLSCertificate());

Modified: trunk/Source/WebKit2/ChangeLog (131396 => 131397)


--- trunk/Source/WebKit2/ChangeLog	2012-10-16 01:59:54 UTC (rev 131396)
+++ trunk/Source/WebKit2/ChangeLog	2012-10-16 02:05:47 UTC (rev 131397)
@@ -1,3 +1,21 @@
+2012-10-15  Byungwoo Lee  <bw80....@samsung.com>
+
+        Fix unused parameter build warning.
+        https://bugs.webkit.org/show_bug.cgi?id=99400
+
+        Reviewed by Gyuyoung Kim.
+
+        Remove the name of unused parameters to fix the build warning (-Wunused-parameter).
+
+        * Shared/soup/WebCoreArgumentCodersSoup.cpp:
+        (CoreIPC::::encodePlatformData):
+        (CoreIPC::::decodePlatformData):
+        * UIProcess/WebProcessProxy.cpp:
+        (WebKit::WebProcessProxy::getSharedWorkerProcessConnection):
+        * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
+        (WebKit::NetscapePlugin::handleEditingCommand):
+        (WebKit::NetscapePlugin::isEditingCommandEnabled):
+
 2012-10-15  Dan Bernstein  <m...@apple.com>
 
         WebKit2 part of <rdar://problem/12470680> Font’s fast code path doesn’t support kerning and ligatures

Modified: trunk/Source/WebKit2/Shared/soup/WebCoreArgumentCodersSoup.cpp (131396 => 131397)


--- trunk/Source/WebKit2/Shared/soup/WebCoreArgumentCodersSoup.cpp	2012-10-16 01:59:54 UTC (rev 131396)
+++ trunk/Source/WebKit2/Shared/soup/WebCoreArgumentCodersSoup.cpp	2012-10-16 02:05:47 UTC (rev 131397)
@@ -66,11 +66,11 @@
 }
 
 
-void ArgumentCoder<ResourceError>::encodePlatformData(ArgumentEncoder* encoder, const ResourceError& resourceError)
+void ArgumentCoder<ResourceError>::encodePlatformData(ArgumentEncoder*, const ResourceError&)
 {
 }
 
-bool ArgumentCoder<ResourceError>::decodePlatformData(ArgumentDecoder* decoder, ResourceError& resourceError)
+bool ArgumentCoder<ResourceError>::decodePlatformData(ArgumentDecoder*, ResourceError&)
 {
     return true;
 }

Modified: trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp (131396 => 131397)


--- trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp	2012-10-16 01:59:54 UTC (rev 131396)
+++ trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp	2012-10-16 02:05:47 UTC (rev 131397)
@@ -390,7 +390,7 @@
 
 #endif
 
-void WebProcessProxy::getSharedWorkerProcessConnection(const String& url, const String& name, PassRefPtr<Messages::WebProcessProxy::GetSharedWorkerProcessConnection::DelayedReply> reply)
+void WebProcessProxy::getSharedWorkerProcessConnection(const String& /* url */, const String& /* name */, PassRefPtr<Messages::WebProcessProxy::GetSharedWorkerProcessConnection::DelayedReply>)
 {
     // FIXME: Implement
 }

Modified: trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp (131396 => 131397)


--- trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp	2012-10-16 01:59:54 UTC (rev 131396)
+++ trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp	2012-10-16 02:05:47 UTC (rev 131397)
@@ -913,12 +913,12 @@
     return platformHandleKeyboardEvent(keyboardEvent);
 }
 
-bool NetscapePlugin::handleEditingCommand(const String& commandName, const String& argument)
+bool NetscapePlugin::handleEditingCommand(const String& /* commandName */, const String& /* argument */)
 {
     return false;
 }
 
-bool NetscapePlugin::isEditingCommandEnabled(const String& commandName)
+bool NetscapePlugin::isEditingCommandEnabled(const String& /* commandName */)
 {
     return false;
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to