diff options
author | caryclark <caryclark@google.com> | 2015-04-27 05:39:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-27 05:39:33 -0700 |
commit | 6a307bacc8037a0745bb0efa8b00143c7c4320a8 (patch) | |
tree | cf0a10b2e907791e64956ec3c48c41306ef3c073 /src/pathops/SkPathOpsOp.cpp | |
parent | 1899651ffc459f5462aa989cd6d08507947b67e4 (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.cpp | 4 |
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; |