diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index 0967630655..229552468a 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -1477,7 +1477,6 @@ void wxDCImpl::CalculateEllipticPoints( wxPointList* points, wxCoord y = b; long x2 = 1; long y2 = y*y; - long y2_old = 0; long y_old = 0; // Lists for quadrant 1 to 4 wxPointList pointsarray[4]; @@ -1485,7 +1484,6 @@ void wxDCImpl::CalculateEllipticPoints( wxPointList* points, for( x = 0; x <= a; ++x ) { x2 = x2+x+x-1; - y2_old = y2; y_old = y; bool bNewPoint = false; while( y2 > c1 - c2 * x2 && y > 0 )