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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.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/SourceMapNamesResolver.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js b/third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js
index 11d80c2e62005b3fadd322af23e48b24f9100f48..8768ac0740db7246ab2a2fda1f33365d3eaeff5c 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js
@@ -65,7 +65,6 @@ Sources.SourceMapNamesResolver._scopeIdentifiers = function(scope) {
function onIdentifiers(text, scopeStart, prefix, identifiers) {
var result = [];
var cursor = new Common.TextCursor(text.lineEndings());
- var promises = [];
for (var i = 0; i < identifiers.length; ++i) {
var id = identifiers[i];
if (id.offset < prefix.length)

Powered by Google App Engine
This is Rietveld 408576698