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

Unified Diff: pkg/analysis_server/test/services/correction/fix_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/fix_test.dart
diff --git a/pkg/analysis_server/test/services/correction/fix_test.dart b/pkg/analysis_server/test/services/correction/fix_test.dart
index fb582b7da4063961a7fe05512bbbe807ccbabc4e..e6d1604f4205fd7f261dade2ce6135d4bb54445f 100644
--- a/pkg/analysis_server/test/services/correction/fix_test.dart
+++ b/pkg/analysis_server/test/services/correction/fix_test.dart
@@ -79,7 +79,6 @@ bool test() {
Position expectedPosition(String search) {
int offset = resultCode.indexOf(search);
- int length = getLeadingIdentifierLength(search);
return new Position(testFile, offset);
}
@@ -2317,7 +2316,6 @@ main() {
List<Position> positions = <Position>[];
for (String search in searchStrings) {
int offset = resultCode.indexOf(search);
- int length = getLeadingIdentifierLength(search);
positions.add(new Position(testFile, offset));
}
return positions;

Powered by Google App Engine
This is Rietveld 408576698