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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/FilteredUISourceCodeListDelegate.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/FilteredUISourceCodeListDelegate.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/FilteredUISourceCodeListDelegate.js b/third_party/WebKit/Source/devtools/front_end/sources/FilteredUISourceCodeListDelegate.js
index 3711cf55ff88c585555637852c972596292b73e8..b15e0cd743c88dbc75d6fca8079d5feeab9d6a2c 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/FilteredUISourceCodeListDelegate.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/FilteredUISourceCodeListDelegate.js
@@ -123,7 +123,7 @@ Sources.FilteredUISourceCodeListDelegate = class extends UI.FilteredListWidget.D
var uiSourceCode = this._uiSourceCodes[itemIndex];
var fullDisplayName = uiSourceCode.fullDisplayName();
var indexes = [];
- var score = new Sources.FilePathScoreFunction(query).score(fullDisplayName, indexes);
+ new Sources.FilePathScoreFunction(query).score(fullDisplayName, indexes);
var fileNameIndex = fullDisplayName.lastIndexOf('/');
titleElement.textContent = uiSourceCode.displayName() + (this._queryLineNumberAndColumnNumber || '');

Powered by Google App Engine
This is Rietveld 408576698