diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-03-07 14:07:01 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-03-07 14:07:01 +0000 |
commit | ed856100c86fde196aad881af92b791f6cd8400a (patch) | |
tree | 29dbec0c400f8b2576dca0df6778d07c977b9af5 /gpu | |
parent | 6bcf995a2673fef7a41a7384108a0675f2a66eb6 (diff) |
Fix warning about uninit var subpathClosed
git-svn-id: http://skia.googlecode.com/svn/trunk@897 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/src/GrPath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/src/GrPath.cpp b/gpu/src/GrPath.cpp index 1e5a6cf18b..a740dfc8d3 100644 --- a/gpu/src/GrPath.cpp +++ b/gpu/src/GrPath.cpp @@ -173,12 +173,12 @@ void GrPath::resetFromIter(GrPathIter* iter) { // 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 |