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;