diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 01:15:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:19 +0300 |
commit | e8a57a478963950d2bf0ad5614e5f16240237b03 (patch) | |
tree | 8a1c31355168efa7f4d64e033e8001f7fde0c7d2 /src/resources/dye.cpp | |
parent | 71c76bd61f72356b6a4949ddcf0f3f670aea6943 (diff) | |
download | manaplus-e8a57a478963950d2bf0ad5614e5f16240237b03.tar.gz manaplus-e8a57a478963950d2bf0ad5614e5f16240237b03.tar.bz2 manaplus-e8a57a478963950d2bf0ad5614e5f16240237b03.tar.xz manaplus-e8a57a478963950d2bf0ad5614e5f16240237b03.zip |
remove unused variable from dye
Diffstat (limited to 'src/resources/dye.cpp')
-rw-r--r-- | src/resources/dye.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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<uint8_t *>(pixels); #if SDL_BYTEORDER == SDL_BIG_ENDIAN const int alpha = *pixels & 0xff000000; |