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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js

Issue 2560043005: DevTools: Remove unused variables. Disallow unused variables with eslint (Closed)
Patch Set: A new unused variable was born Created 4 years 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: third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
index e11f4e824e719266af42acf9155a308e0c93fe2e..d8fe76ba6e3e4ab80107a3dda823e143d03c9a37 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
@@ -157,7 +157,6 @@ Sources.NavigatorView = class extends UI.VBox {
var typeWeight1 = Sources.NavigatorView._treeElementOrder(treeElement1);
var typeWeight2 = Sources.NavigatorView._treeElementOrder(treeElement2);
- var result;
if (typeWeight1 > typeWeight2)
return 1;
if (typeWeight1 < typeWeight2)
@@ -705,9 +704,6 @@ Sources.NavigatorView = class extends UI.VBox {
* @param {!Workspace.UISourceCode=} uiSourceCodeToCopy
*/
create(project, path, uiSourceCodeToCopy) {
- var filePath;
- var uiSourceCode;
-
/**
* @this {Sources.NavigatorView}
* @param {?string} content

Powered by Google App Engine
This is Rietveld 408576698