diff options
author | D G Turner | 2013-05-28 02:07:02 +0100 |
---|---|---|
committer | D G Turner | 2013-05-28 02:07:02 +0100 |
commit | d11a1eea9480db3f86d19eab92aec08cd9eedf6f (patch) | |
tree | e98a5f365b4f7681eb7edf08fb0f83990a121d9b /engines/neverhood/microtiles.cpp | |
parent | 907edb50b65b67041f9d32efd8ba70fea5581466 (diff) | |
download | scummvm-rg350-d11a1eea9480db3f86d19eab92aec08cd9eedf6f.tar.gz scummvm-rg350-d11a1eea9480db3f86d19eab92aec08cd9eedf6f.tar.bz2 scummvm-rg350-d11a1eea9480db3f86d19eab92aec08cd9eedf6f.zip |
NEVERHOOD: Silence two compiler warnings about set but unused variables.
Diffstat (limited to 'engines/neverhood/microtiles.cpp')
-rw-r--r-- | engines/neverhood/microtiles.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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; |