From 44203f8aebd067b9e894c07d72f6589f45d64f65 Mon Sep 17 00:00:00 2001 From: "vegorov@google.com" Date: Tue, 7 Oct 2014 19:38:16 +0000 Subject: [PATCH] Silence analyzer warnings in array_bounds_check_generalization_test. TBR=fschneider@google.com Review URL: https://codereview.chromium.org//631143003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40973 260f80e4-7a28-3924-810f-c04153c831b5 --- .../standalone/array_bounds_check_generalization_test.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/standalone/array_bounds_check_generalization_test.dart b/tests/standalone/array_bounds_check_generalization_test.dart index f102e8f785f..bfd0cceb070 100644 --- a/tests/standalone/array_bounds_check_generalization_test.dart +++ b/tests/standalone/array_bounds_check_generalization_test.dart @@ -33,7 +33,7 @@ test3(a, b) { test4(a, b) { var e; if (a.length < 2) { - return; + return null; } for (var i = 0, j = 1, k = 0; i < a.length - 1; i++, j++, k++) { @@ -45,11 +45,11 @@ test4(a, b) { test5(a, b, k0) { var e; if (a.length < 2) { - return; + return null; } if (k0 > 1) { - return; + return null; } for (var i = 0, j = 1, k = 0; i < a.length - 1; i++, j++, k++) {