aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsAngleIdeas.cpp
diff options
context:
space:
mode:
authorGravatar Kevin Lubick <kjlubick@google.com>2018-01-05 10:11:11 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-05 18:03:25 +0000
commit4284613cfe211bfdcf3506f363d382c044ae8b51 (patch)
tree1004283289d9e70c786dd01702c8a8b144aa5932 /tests/PathOpsAngleIdeas.cpp
parent4c79ecf2f493c0eaa4f58cf0bb086d61ea2aebcb (diff)
Enable conditional-uninitialized flag
Bug: skia:7462 Cq-Include-Trybots: skia.primary:Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All-SKNX_NO_SIMD Change-Id: I1c0a09984bf28a5c620a89af56040f018bae6310 Reviewed-on: https://skia-review.googlesource.com/90941 Commit-Queue: Kevin Lubick <kjlubick@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tests/PathOpsAngleIdeas.cpp')
-rw-r--r--tests/PathOpsAngleIdeas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PathOpsAngleIdeas.cpp b/tests/PathOpsAngleIdeas.cpp
index c50260f27c..e6a75cd41d 100644
--- a/tests/PathOpsAngleIdeas.cpp
+++ b/tests/PathOpsAngleIdeas.cpp
@@ -611,7 +611,7 @@ DEF_TEST(PathOpsAngleBruteT, reporter) {
SkRandom ran;
double smaller = SK_Scalar1;
SkDQuad small[2];
- SkDEBUGCODE(int smallIndex);
+ SkDEBUGCODE(int smallIndex = 0);
for (int index = 0; index < 100000; ++index) {
SkDPoint origin = {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)};
QuadPts quad1 = {{origin, {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)},