From 03f2d9b01ed392488269647d557b25f41a86fc84 Mon Sep 17 00:00:00 2001 From: Borja Lorente Date: Sun, 31 Jul 2016 18:00:36 +0200 Subject: GRAPHICS: Remove unused variables --- graphics/nine_patch.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'graphics/nine_patch.cpp') diff --git a/graphics/nine_patch.cpp b/graphics/nine_patch.cpp index 331344fd32..f89a0f2df7 100644 --- a/graphics/nine_patch.cpp +++ b/graphics/nine_patch.cpp @@ -235,9 +235,6 @@ void NinePatchBitmap::blit(Graphics::Surface &target, int dx, int dy, int dw, in drawRegions(srf, dx, dy, dw, dh); - byte black = getColorIndex(TS_RGB(0, 0, 0), palette); - byte white = getColorIndex(TS_RGB(255, 255, 255), palette); - for (uint i = 0; i < srf.w; ++i) { for (uint j = 0; j < srf.h; ++j) { uint32 color = *(uint32*)srf.getBasePtr(i, j); -- cgit v1.2.3