From 451bf02b82964136abfa5845aafa97a453488bf4 Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 3 Mar 2016 23:41:46 -0300 Subject: [PATCH] Remove unused variable from replace_image_colors() --- src/doc/brush.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/doc/brush.cpp b/src/doc/brush.cpp index 3221416f6..ae3468295 100644 --- a/src/doc/brush.cpp +++ b/src/doc/brush.cpp @@ -103,7 +103,6 @@ static void replace_image_colors(Image* image, LockImageBits bits(image, Image::ReadWriteLock); bool hasAlpha = false; // True if "image" has a pixel with alpha < 255 color_t mainColor, bgColor; - color_t maskColor = image->maskColor(); mainColor = bgColor = 0;