Fix warning about uninit var subpathClosed
git-svn-id: http://skia.googlecode.com/svn/trunk@897 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/GrPath.cpp b/gpu/src/GrPath.cpp
index 1e5a6cf..a740dfc 100644
--- a/gpu/src/GrPath.cpp
+++ b/gpu/src/GrPath.cpp
@@ -173,12 +173,12 @@
// counts number of sub path pts that didn't add a degenerate edge.
int subPathPts = 0;
+ bool subPathClosed = false;
int numSubPaths = 0;
iter->rewind();
GrPathCmd cmd;
GrPoint pts[4];
- bool subPathClosed;
do {
cmd = iter->next(pts);
// If the convexity test is ever updated to handle multiple subpaths