Title: [149763] trunk/Source/WebKit/blackberry
Revision
149763
Author
[email protected]
Date
2013-05-08 13:33:43 -0700 (Wed, 08 May 2013)

Log Message

Fix some compiler warnings (miscellaneous)
https://bugs.webkit.org/show_bug.cgi?id=80790

Patch by Rob Buis <[email protected]> on 2013-05-08
Reviewed by Philip Rogers.

Get rid of the following warning for BlackBerry:

BackingStoreClient.cpp:54:21: warning: unused parameter 'parentFrame' [-Wunused-parameter]

by using ASSERT_UNUSED instead of ASSERT.

* WebKitSupport/BackingStoreClient.cpp:
(BlackBerry::WebKit::BackingStoreClient::create):

Modified Paths

Diff

Modified: trunk/Source/WebKit/blackberry/ChangeLog (149762 => 149763)


--- trunk/Source/WebKit/blackberry/ChangeLog	2013-05-08 20:06:31 UTC (rev 149762)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2013-05-08 20:33:43 UTC (rev 149763)
@@ -1,3 +1,19 @@
+2013-05-08  Rob Buis  <[email protected]>
+
+        Fix some compiler warnings (miscellaneous)
+        https://bugs.webkit.org/show_bug.cgi?id=80790
+
+        Reviewed by Philip Rogers.
+
+        Get rid of the following warning for BlackBerry:
+
+        BackingStoreClient.cpp:54:21: warning: unused parameter 'parentFrame' [-Wunused-parameter]
+
+        by using ASSERT_UNUSED instead of ASSERT.
+
+        * WebKitSupport/BackingStoreClient.cpp:
+        (BlackBerry::WebKit::BackingStoreClient::create):
+
 2013-05-07  Xuefei Ren  <[email protected]>
 
         Clean up load interface in WebPage

Modified: trunk/Source/WebKit/blackberry/WebKitSupport/BackingStoreClient.cpp (149762 => 149763)


--- trunk/Source/WebKit/blackberry/WebKitSupport/BackingStoreClient.cpp	2013-05-08 20:06:31 UTC (rev 149762)
+++ trunk/Source/WebKit/blackberry/WebKitSupport/BackingStoreClient.cpp	2013-05-08 20:33:43 UTC (rev 149763)
@@ -53,7 +53,7 @@
 
 BackingStoreClient* BackingStoreClient::create(Frame* frame, Frame* parentFrame, WebPage* parentPage)
 {
-    ASSERT(!parentFrame);
+    ASSERT_UNUSED(parentFrame, !parentFrame);
     BackingStoreClient* it = new BackingStoreClient(frame, parentPage);
     return it;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to