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

Unified Diff: lib/src/context.dart

Issue 883133002: path: Fix some analyzer hints. (Closed) Base URL: git@github.com:dart-lang/path@master
Patch Set: Created 5 years, 11 months 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
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/parsed_path.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/context.dart
diff --git a/lib/src/context.dart b/lib/src/context.dart
index e9237a2ba0216125bc74c9f1f8c0a7eaf4f235f5..21b43654b948c51aeb91e349fed6900f75589cc2 100644
--- a/lib/src/context.dart
+++ b/lib/src/context.dart
@@ -518,7 +518,6 @@ class Context {
var path = normalize(fromUri(uri));
var rel = relative(path);
- var components = split(rel);
// Only return a relative path if it's actually shorter than the absolute
// path. This avoids ugly things like long "../" chains to get to the root
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/parsed_path.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698