aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkPathOpsOp.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-04-27 05:39:33 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-27 05:39:33 -0700
commit6a307bacc8037a0745bb0efa8b00143c7c4320a8 (patch)
treecf0a10b2e907791e64956ec3c48c41306ef3c073 /src/pathops/SkPathOpsOp.cpp
parent1899651ffc459f5462aa989cd6d08507947b67e4 (diff)
fix valgrind
TBR=mtklein@google.com BUG=skia: Review URL: https://codereview.chromium.org/1102273003
Diffstat (limited to 'src/pathops/SkPathOpsOp.cpp')
-rw-r--r--src/pathops/SkPathOpsOp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathops/SkPathOpsOp.cpp b/src/pathops/SkPathOpsOp.cpp
index 64a6e6ee64..4e3ec4aad3 100644
--- a/src/pathops/SkPathOpsOp.cpp
+++ b/src/pathops/SkPathOpsOp.cpp
@@ -107,8 +107,8 @@ static bool bridgeOp(SkTDArray<SkOpContour* >& contourList, const SkPathOp op,
SkPoint lastTopLeft;
SkPoint topLeft = {SK_ScalarMin, SK_ScalarMin};
do {
- SkOpSpanBase* start;
- SkOpSpanBase* end;
+ SkOpSpanBase* start = NULL;
+ SkOpSpanBase* end = NULL;
bool topDone;
bool onlyVertical = false;
lastTopLeft = topLeft;