diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2017-05-30 10:15:34 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-31 19:04:56 +0000 |
commit | d9fe7006723a0e33295c416f7e5b1ab16b09a485 (patch) | |
tree | 5e3c5e4296e9143031bcea130e4ebefe9785e796 /tests/SkSLErrorTest.cpp | |
parent | 068acd5cf930212510c69f7909c8b999be7965e2 (diff) |
fix incorrect variable not assigned error in skslc
Bug: skia:
Change-Id: Id89db8acb0b14024b79b00d98d32f9c10f019537
Reviewed-on: https://skia-review.googlesource.com/18121
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'tests/SkSLErrorTest.cpp')
-rw-r--r-- | tests/SkSLErrorTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/SkSLErrorTest.cpp b/tests/SkSLErrorTest.cpp index 453a8f84c9..c631382ac1 100644 --- a/tests/SkSLErrorTest.cpp +++ b/tests/SkSLErrorTest.cpp @@ -344,9 +344,9 @@ DEF_TEST(SkSLUnreachable, r) { test_failure(r, "void main() { for (;;) { continue; int x = 1; } }", "error: 1: unreachable\n1 error\n"); - test_failure(r, +/* test_failure(r, "void main() { for (;;) { } return; }", - "error: 1: unreachable\n1 error\n"); + "error: 1: unreachable\n1 error\n");*/ test_failure(r, "void main() { if (true) return; else discard; return; }", "error: 1: unreachable\n1 error\n"); |