Fix unused argument warning from GCC.
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Sep 2019 18:02:02 +0000 (18:02 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Sep 2019 18:02:02 +0000 (18:02 +0000)
* Platform/IPC/ArgumentCoders.h:
(IPC::TupleDecoder<0>::decode):
There was indeed an unused argument.

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

Source/WebKit/ChangeLog
Source/WebKit/Platform/IPC/ArgumentCoders.h

index cb24398..3c262c5 100644 (file)
@@ -1,5 +1,13 @@
 2019-09-06  Alex Christensen  <achristensen@webkit.org>
 
+        Fix unused argument warning from GCC.
+
+        * Platform/IPC/ArgumentCoders.h:
+        (IPC::TupleDecoder<0>::decode):
+        There was indeed an unused argument.
+
+2019-09-06  Alex Christensen  <achristensen@webkit.org>
+
         When disabling legacy private browsing for testing, change the SessionID back to what it was, not the defaultSessionID
         https://bugs.webkit.org/show_bug.cgi?id=201480
 
index 2a809c7..e33b0d5 100644 (file)
@@ -227,7 +227,7 @@ struct TupleDecoder {
 
 template<>
 struct TupleDecoder<0> {
-    static Optional<std::tuple<>> decode(Decoder& decoder)
+    static Optional<std::tuple<>> decode(Decoder&)
     {
         return std::make_tuple();
     }