From 0c4dba6a60478f42f8233e077a93507a2771115f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 24 Aug 2014 13:29:54 +0000 Subject: [PATCH] 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 --- src/common/dcbase.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index bbef6164e5..c8008344f6 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -1484,7 +1484,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]; @@ -1492,7 +1491,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 )