diff --git a/uppsrc/Core/Xmlize.h b/uppsrc/Core/Xmlize.h index ca97afad9..39c5022c5 100644 --- a/uppsrc/Core/Xmlize.h +++ b/uppsrc/Core/Xmlize.h @@ -264,7 +264,6 @@ void XmlizeBySerialize(XmlIO& xio, T& x) } } - void StoreJsonValue(XmlIO& xio, const Value& v); Value LoadJsonValue(const XmlNode& n); diff --git a/uppsrc/Painter/Mask.cpp b/uppsrc/Painter/Mask.cpp index ccf72d65e..1b4c29463 100644 --- a/uppsrc/Painter/Mask.cpp +++ b/uppsrc/Painter/Mask.cpp @@ -41,8 +41,6 @@ void BufferPainter::FinishMask() Buffer& cl = clip.Top(); for(int y = 0; y < ib.GetHeight(); y++) if(creating || !cl[y].IsEmpty()) { - bool full = true; - bool empty = true; int c0 = 0; int c256 = 0; const RGBA *s = ib[y]; @@ -55,7 +53,6 @@ void BufferPainter::FinishMask() c0++; if(mode == MODE_SUBPIXEL) c0 += 2; - full = false; } else if(val == 256) { @@ -63,7 +60,6 @@ void BufferPainter::FinishMask() c256++; if(mode == MODE_SUBPIXEL) c256 += 2; - empty = false; } else { if(c256) t = sSpan(t, 128, c256); @@ -73,7 +69,6 @@ void BufferPainter::FinishMask() *t++ = val; *t++ = val; } - full = empty = false; } s++; }