aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkPathOpsCommon.cpp
diff options
context:
space:
mode:
authorGravatar djsollen <djsollen@google.com>2016-04-29 13:53:05 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-29 13:53:05 -0700
commit2f124631583a838edaa1e48362031cc6c7f40764 (patch)
tree51a93ae0b2d72a7376002d6a6ae1f5f47d429c37 /src/pathops/SkPathOpsCommon.cpp
parent5ee89a6faf3be9fb6d00ecc6cec190e27f55f507 (diff)
Fix warnings that were exposed when running with SK_DEBUG enable on an optimized release build.
Diffstat (limited to 'src/pathops/SkPathOpsCommon.cpp')
-rw-r--r--src/pathops/SkPathOpsCommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathops/SkPathOpsCommon.cpp b/src/pathops/SkPathOpsCommon.cpp
index 86a8cb0bef..c9ef7a4196 100644
--- a/src/pathops/SkPathOpsCommon.cpp
+++ b/src/pathops/SkPathOpsCommon.cpp
@@ -113,7 +113,7 @@ SkOpSegment* FindChase(SkTDArray<SkOpSpanBase*>* chase, SkOpSpanBase** startPtr,
segment = angle->segment();
SkOpSpanBase* start = angle->start();
SkOpSpanBase* end = angle->end();
- int maxWinding;
+ int maxWinding SK_INIT_TO_AVOID_WARNING;
if (sortable) {
segment->setUpWinding(start, end, &maxWinding, &sumWinding);
}