Index: src/pathops/SkPathOpsSimplify.cpp |
diff --git a/src/pathops/SkPathOpsSimplify.cpp b/src/pathops/SkPathOpsSimplify.cpp |
index 08bb26d9a91255f55768605e6ff0cdadaaad0093..97f0350db2574e1ecd058a43805c6a40e6b23e19 100644 |
--- a/src/pathops/SkPathOpsSimplify.cpp |
+++ b/src/pathops/SkPathOpsSimplify.cpp |
@@ -216,7 +216,7 @@ bool Simplify(const SkPath& path, SkPath* result) { |
result->reset(); |
result->setFillType(fillType); |
SkPathWriter wrapper(*result); |
- bool closable; |
+ bool closable SK_INIT_TO_AVOID_WARNING; |
if (builder.xorMask() == kWinding_PathOpsMask |
? !bridgeWinding(contourList, &wrapper, &allocator, &closable) |
: !bridgeXor(contourList, &wrapper, &allocator, &closable)) { |