diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-30 20:33:12 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-30 20:33:12 +0000 |
commit | 5b33211c5edafde82af781beaa1dbc295000a62f (patch) | |
tree | 31e7c9b17a8a393b4df309ea68256bc732d02620 /src/core/SkRegion.cpp | |
parent | 70476652a07710c15763a1c4021443a1d56c0974 (diff) |
Start addressing the clang static analyzer issues
https://codereview.appspot.com/7249043/
git-svn-id: http://skia.googlecode.com/svn/trunk@7469 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkRegion.cpp')
-rw-r--r-- | src/core/SkRegion.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/SkRegion.cpp b/src/core/SkRegion.cpp index e6ed68f456..dcad9eaab6 100644 --- a/src/core/SkRegion.cpp +++ b/src/core/SkRegion.cpp @@ -848,7 +848,6 @@ static int operate(const SkRegion::RunType a_runs[], RgnOper oper(SkMin32(a_top, b_top), dst, op); - bool firstInterval = true; int prevBot = SkRegion::kRunTypeSentinel; // so we fail the first test while (a_bot < SkRegion::kRunTypeSentinel || @@ -895,7 +894,6 @@ static int operate(const SkRegion::RunType a_runs[], oper.addSpan(top, gSentinel, gSentinel); } oper.addSpan(bot, run0, run1); - firstInterval = false; if (quickExit && !oper.isEmpty()) { return QUICK_EXIT_TRUE_COUNT; |