From 005aa9267870833a5f9c6560267eb726ce4e57c8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 24 Aug 2014 13:35:24 +0000 Subject: [PATCH] Remove unused variable in wxDCImpl::CalculateEllipticPoints(). Closes #16433. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77459 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 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 )