From d11a1eea9480db3f86d19eab92aec08cd9eedf6f Mon Sep 17 00:00:00 2001 From: D G Turner Date: Tue, 28 May 2013 02:07:02 +0100 Subject: NEVERHOOD: Silence two compiler warnings about set but unused variables. --- engines/neverhood/microtiles.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'engines/neverhood/microtiles.cpp') diff --git a/engines/neverhood/microtiles.cpp b/engines/neverhood/microtiles.cpp index e19be52b5a..3dd6475046 100644 --- a/engines/neverhood/microtiles.cpp +++ b/engines/neverhood/microtiles.cpp @@ -118,8 +118,6 @@ RectangleList *MicroTileArray::getRectangles() { for (y = 0; y < _tilesH; ++y) { for (x = 0; x < _tilesW; ++x) { - - int start; int finish = 0; BoundingBox boundingBox = _tiles[i]; @@ -132,8 +130,6 @@ RectangleList *MicroTileArray::getRectangles() { y0 = (y * TileSize) + TileY0(boundingBox); y1 = (y * TileSize) + TileY1(boundingBox); - start = i; - if (TileX1(boundingBox) == TileSize - 1 && x != _tilesW - 1) { // check if the tile continues while (!finish) { ++x; -- cgit v1.2.3