diff options
author | Torbjörn Andersson | 2016-05-29 22:54:44 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2016-05-29 22:54:44 +0200 |
commit | 5cae160ad74e16b6026eb2a55ba3519a21bee22d (patch) | |
tree | c356ee64798c0d586b901d24c5ac6e662bff8762 /graphics | |
parent | e963f8bc6098c93b3b3d39d46fa7617a1567f6ef (diff) | |
download | scummvm-rg350-5cae160ad74e16b6026eb2a55ba3519a21bee22d.tar.gz scummvm-rg350-5cae160ad74e16b6026eb2a55ba3519a21bee22d.tar.bz2 scummvm-rg350-5cae160ad74e16b6026eb2a55ba3519a21bee22d.zip |
GRAPHCIS: Remove unused variable
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/nine_patch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/nine_patch.cpp b/graphics/nine_patch.cpp index fea0d8ae66..18237ffb88 100644 --- a/graphics/nine_patch.cpp +++ b/graphics/nine_patch.cpp @@ -61,11 +61,11 @@ NinePatchSide::~NinePatchSide() { bool NinePatchSide::init(Graphics::TransparentSurface *bmp, bool vertical) { const int len = vertical ? bmp->h : bmp->w; int i; - int s, t, n, z; + int s, t, z; _m.clear(); - for (i = 1, s = -1, t = 0, n = 0, z = -1; i < len; ++i) { + for (i = 1, s = -1, t = 0, z = -1; i < len; ++i) { int zz; uint8 r, g, b, a; uint32 *color = vertical ? (uint32 *)bmp->getBasePtr(0, i) : (uint32 *)bmp->getBasePtr(i, 0); |