diff --git a/tests/graphics/graphpath.cpp b/tests/graphics/graphpath.cpp index 5f5d583bc7..6b106d60a9 100644 --- a/tests/graphics/graphpath.cpp +++ b/tests/graphics/graphpath.cpp @@ -385,7 +385,6 @@ static void TestCurrentPoint(wxGraphicsContext* gc) const wxDouble y = 140; const wxDouble r = 20; path.AddCircle(x, y, r); - wxPoint2DDouble cp0 = path.GetCurrentPoint(); path.AddPath(path2); wxPoint2DDouble cp = path.GetCurrentPoint(); WX_CHECK_POINT(cp, cp2, 1E-3);