path ops fix release android build
authorcaryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 11 Apr 2013 14:09:50 +0000 (14:09 +0000)
committercaryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 11 Apr 2013 14:09:50 +0000 (14:09 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@8611 2bbb7eff-a529-9590-31e7-b0007b416f81

Makefile
src/pathops/SkPathOpsCommon.cpp

index acec159d0f830a4d8c2b342d6546a9bcbfde753a..eb49dccd479bc2f4fa00f5a3426e53b6a0337808 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,7 @@ VALID_TARGETS := \
                  everything \
                  gm \
                  most \
+                 pathops_unittest \
                  SampleApp \
                  SkiaAndroidApp \
                  skia_base_libs \
index 93f9cd47f7bd25be72c7630a49f7bd27671842da..f30476443a5c40af866222dbb494579d9fdf6266 100644 (file)
@@ -21,7 +21,7 @@ static int contourRangeCheckY(const SkTDArray<SkOpContour*>& contourList, SkOpSe
     int contourCount = contourList.count();
     SkScalar bestY = SK_ScalarMin;
     SkOpSegment* bestSeg = NULL;
-    int bestTIndex;
+    int bestTIndex = 0;
     bool bestOpp;
     bool hitSomething = false;
     for (int cTest = 0; cTest < contourCount; ++cTest) {