Remove unused variable in wxDCImpl::CalculateEllipticPoints().
Closes #16433. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1484,7 +1484,6 @@ void wxDCImpl::CalculateEllipticPoints( wxPointList* points,
|
|||||||
wxCoord y = b;
|
wxCoord y = b;
|
||||||
long x2 = 1;
|
long x2 = 1;
|
||||||
long y2 = y*y;
|
long y2 = y*y;
|
||||||
long y2_old = 0;
|
|
||||||
long y_old = 0;
|
long y_old = 0;
|
||||||
// Lists for quadrant 1 to 4
|
// Lists for quadrant 1 to 4
|
||||||
wxPointList pointsarray[4];
|
wxPointList pointsarray[4];
|
||||||
@@ -1492,7 +1491,6 @@ void wxDCImpl::CalculateEllipticPoints( wxPointList* points,
|
|||||||
for( x = 0; x <= a; ++x )
|
for( x = 0; x <= a; ++x )
|
||||||
{
|
{
|
||||||
x2 = x2+x+x-1;
|
x2 = x2+x+x-1;
|
||||||
y2_old = y2;
|
|
||||||
y_old = y;
|
y_old = y;
|
||||||
bool bNewPoint = false;
|
bool bNewPoint = false;
|
||||||
while( y2 > c1 - c2 * x2 && y > 0 )
|
while( y2 > c1 - c2 * x2 && y > 0 )
|
||||||
|
Reference in New Issue
Block a user