Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Unified Diff: pkg/analysis_server/test/services/correction/source_range_test.dart

Issue 709493002: Fix 'Unused local variable' hints in analyzer and analysis_server. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/test/services/correction/source_range_test.dart
diff --git a/pkg/analysis_server/test/services/correction/source_range_test.dart b/pkg/analysis_server/test/services/correction/source_range_test.dart
index f52da771d7c0a5d3009b20ac7eec851c31e11d38..2e5bad15b29aa97dbbe137833ebf4c91b2dff3fb 100644
--- a/pkg/analysis_server/test/services/correction/source_range_test.dart
+++ b/pkg/analysis_server/test/services/correction/source_range_test.dart
@@ -68,9 +68,6 @@ class SourceRangesTest extends AbstractSingleUnitTest {
void test_rangeNodes_empty() {
resolveTestUnit('main() {}');
- FunctionDeclaration mainFunction = testUnit.declarations[0];
- SimpleIdentifier mainName = mainFunction.name;
- FunctionBody mainBody = mainFunction.functionExpression.body;
expect(rangeNodes([]), new SourceRange(0, 0));
}

Powered by Google App Engine
This is Rietveld 408576698