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

Unified Diff: lib/src/parsed_path.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 | « lib/src/context.dart ('k') | lib/src/style/url.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/parsed_path.dart
diff --git a/lib/src/parsed_path.dart b/lib/src/parsed_path.dart
index a7b0afd3bf1662eee670ff63328b9b089a9922e8..3a9a9a22536a08a4944ef76d1aa69e25c7f8ea44 100644
--- a/lib/src/parsed_path.dart
+++ b/lib/src/parsed_path.dart
@@ -41,8 +41,6 @@ class ParsedPath {
bool get isAbsolute => root != null;
factory ParsedPath.parse(String path, InternalStyle style) {
- var before = path;
-
// Remove the root prefix, if any.
var root = style.getRoot(path);
var isRootRelative = style.isRootRelative(path);
« no previous file with comments | « lib/src/context.dart ('k') | lib/src/style/url.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698