diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-04-19 18:59:25 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-04-19 18:59:25 +0000 |
commit | 5bfa55b1cd067fa2fe1cbe409573aeaabd98d23c (patch) | |
tree | b776b83a05fb604225272a98d2bb195a06319991 /tests/PathMeasureTest.cpp | |
parent | 8b0a335b6b4bcaebde35100307d371b4614c3fd6 (diff) |
fix unused-return-result-warning for invert/getPosTan
git-svn-id: http://skia.googlecode.com/svn/trunk@3733 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PathMeasureTest.cpp')
-rw-r--r-- | tests/PathMeasureTest.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
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); |