commit | 2f124631583a838edaa1e48362031cc6c7f40764 | [log] [tgz] |
---|---|---|
author | djsollen <djsollen@google.com> | Fri Apr 29 13:53:05 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Apr 29 13:53:05 2016 -0700 |
tree | 51a93ae0b2d72a7376002d6a6ae1f5f47d429c37 | |
parent | 5ee89a6faf3be9fb6d00ecc6cec190e27f55f507 [diff] [blame] |
Fix warnings that were exposed when running with SK_DEBUG enable on an optimized release build. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1917223006 Review-Url: https://codereview.chromium.org/1917223006
diff --git a/src/pathops/SkPathOpsCommon.cpp b/src/pathops/SkPathOpsCommon.cpp index 86a8cb0..c9ef7a4 100644 --- a/src/pathops/SkPathOpsCommon.cpp +++ b/src/pathops/SkPathOpsCommon.cpp
@@ -113,7 +113,7 @@ 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); }