Remove unused variable from replace_image_colors()

This commit is contained in:
David Capello 2016-03-03 23:41:46 -03:00
parent 1ee3efd91d
commit 451bf02b82

View File

@ -103,7 +103,6 @@ static void replace_image_colors(Image* image,
LockImageBits<ImageTraits> bits(image, Image::ReadWriteLock); LockImageBits<ImageTraits> bits(image, Image::ReadWriteLock);
bool hasAlpha = false; // True if "image" has a pixel with alpha < 255 bool hasAlpha = false; // True if "image" has a pixel with alpha < 255
color_t mainColor, bgColor; color_t mainColor, bgColor;
color_t maskColor = image->maskColor();
mainColor = bgColor = 0; mainColor = bgColor = 0;