Remove unnecessary unused variable stubs
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Oct 2016 20:25:02 +0000 (20:25 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Oct 2016 20:25:02 +0000 (20:25 +0000)
https://bugs.webkit.org/show_bug.cgi?id=163688

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2016-10-24
Reviewed by Simon Fraser.

* Modules/applepay/cocoa/PaymentCocoa.mm:
(WebCore::toDictionary):
* Modules/applepay/cocoa/PaymentContactCocoa.mm:
(WebCore::toDictionary):

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

Source/WebCore/ChangeLog
Source/WebCore/Modules/applepay/cocoa/PaymentCocoa.mm
Source/WebCore/Modules/applepay/cocoa/PaymentContactCocoa.mm

index 797753c..ca68648 100644 (file)
@@ -1,3 +1,15 @@
+2016-10-24  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Remove unnecessary unused variable stubs
+        https://bugs.webkit.org/show_bug.cgi?id=163688
+
+        Reviewed by Simon Fraser.
+
+        * Modules/applepay/cocoa/PaymentCocoa.mm:
+        (WebCore::toDictionary):
+        * Modules/applepay/cocoa/PaymentContactCocoa.mm:
+        (WebCore::toDictionary):
+
 2016-10-24  Alex Christensen  <achristensen@webkit.org>
 
         Try to fix Windows build after r207767
index 8450f68..c5f0b62 100644 (file)
@@ -53,7 +53,6 @@ static RetainPtr<NSDictionary> toDictionary(PKPaymentToken *paymentToken)
 static RetainPtr<NSDictionary> toDictionary(PKPayment *payment)
 {
     ASSERT(payment);
-    (void)payment;
 
     auto result = adoptNS([[NSMutableDictionary alloc] init]);
 
index 0dc1d14..a4c053b 100644 (file)
@@ -126,7 +126,6 @@ Optional<PaymentContact> PaymentContact::fromJS(JSC::ExecState& state, JSC::JSVa
 RetainPtr<NSDictionary> toDictionary(PKContact *contact)
 {
     ASSERT(contact);
-    (void)contact;
 
     auto result = adoptNS([[NSMutableDictionary alloc] init]);