aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SkSLErrorTest.cpp
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-05-30 10:15:34 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-31 19:04:56 +0000
commitd9fe7006723a0e33295c416f7e5b1ab16b09a485 (patch)
tree5e3c5e4296e9143031bcea130e4ebefe9785e796 /tests/SkSLErrorTest.cpp
parent068acd5cf930212510c69f7909c8b999be7965e2 (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.cpp4
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");