From 5bfa55b1cd067fa2fe1cbe409573aeaabd98d23c Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Thu, 19 Apr 2012 18:59:25 +0000 Subject: fix unused-return-result-warning for invert/getPosTan git-svn-id: http://skia.googlecode.com/svn/trunk@3733 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/PathMeasureTest.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'tests/PathMeasureTest.cpp') diff --git a/tests/PathMeasureTest.cpp b/tests/PathMeasureTest.cpp index bceb427ebc..3855a0019d 100644 --- a/tests/PathMeasureTest.cpp +++ b/tests/PathMeasureTest.cpp @@ -33,17 +33,6 @@ static void TestPathMeasure(skiatest::Reporter* reporter) { length = meas.getLength(); // SkDebugf("circle arc-length = %g\n", length); - for (int i = 0; i < 8; i++) { - SkScalar d = length * i / 8; - SkPoint p; - SkVector v; - meas.getPosTan(d, &p, &v); -#if 0 - SkDebugf("circle arc-length=%g, pos[%g %g] tan[%g %g]\n", - d, p.fX, p.fY, v.fX, v.fY); -#endif - } - // Test the behavior following a close not followed by a move. path.reset(); path.lineTo(SK_Scalar1, 0); -- cgit v1.2.3