From e8a57a478963950d2bf0ad5614e5f16240237b03 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 01:15:49 +0300 Subject: remove unused variable from dye --- src/resources/dye.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/resources') diff --git a/src/resources/dye.cpp b/src/resources/dye.cpp index aebb8f009..5817f66b8 100644 --- a/src/resources/dye.cpp +++ b/src/resources/dye.cpp @@ -206,10 +206,8 @@ void DyePalette::replaceSColor(uint32_t *pixels, const int bufSize) const if (sz % 2) -- it_end; - int c = 0; for (uint32_t *p_end = pixels + bufSize; pixels != p_end; ++pixels) { - c ++; uint8_t *const p = reinterpret_cast(pixels); #if SDL_BYTEORDER == SDL_BIG_ENDIAN const int alpha = *pixels & 0xff000000; -- cgit v1.2.3-60-g2f50