Title: [161690] trunk/Source/WebCore
Revision
161690
Author
ddkil...@apple.com
Date
2014-01-10 15:54:34 -0800 (Fri, 10 Jan 2014)

Log Message

[iOS] Remove unused variable from TileGrid::dropTilesBetweenRects()

Fixes the following build error:

    WebCore/platform/ios/TileGrid.mm:88:23: error: unused variable 'end' [-Werror,-Wunused-variable]
        TileMap::iterator end = m_tiles.end();
                          ^

* platform/ios/TileGrid.mm:
(WebCore::TileGrid::dropTilesBetweenRects): Remove unused
variable now that the for loop uses an auto iterator.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (161689 => 161690)


--- trunk/Source/WebCore/ChangeLog	2014-01-10 23:54:10 UTC (rev 161689)
+++ trunk/Source/WebCore/ChangeLog	2014-01-10 23:54:34 UTC (rev 161690)
@@ -1,3 +1,17 @@
+2014-01-10  David Kilzer  <ddkil...@apple.com>
+
+        [iOS] Remove unused variable from TileGrid::dropTilesBetweenRects()
+
+        Fixes the following build error:
+
+            WebCore/platform/ios/TileGrid.mm:88:23: error: unused variable 'end' [-Werror,-Wunused-variable]
+                TileMap::iterator end = m_tiles.end();
+                                  ^
+
+        * platform/ios/TileGrid.mm:
+        (WebCore::TileGrid::dropTilesBetweenRects): Remove unused
+        variable now that the for loop uses an auto iterator.
+
 2014-01-10  Dean Jackson  <d...@apple.com>
 
         Implement OES texture half float linear

Modified: trunk/Source/WebCore/platform/ios/TileGrid.mm (161689 => 161690)


--- trunk/Source/WebCore/platform/ios/TileGrid.mm	2014-01-10 23:54:10 UTC (rev 161689)
+++ trunk/Source/WebCore/platform/ios/TileGrid.mm	2014-01-10 23:54:34 UTC (rev 161690)
@@ -85,7 +85,6 @@
 void TileGrid::dropTilesBetweenRects(const IntRect& dropRect, const IntRect& keepRect)
 {
     Vector<TileIndex> toRemove;
-    TileMap::iterator end = m_tiles.end();
     for (auto tile : m_tiles) {
         TileIndex& index = tile.key;
         IntRect tileRect = tile.value->rect();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to