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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/style/filereader.py

Issue 2136793002: Remove all unused variables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: third_party/WebKit/Tools/Scripts/webkitpy/style/filereader.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/style/filereader.py b/third_party/WebKit/Tools/Scripts/webkitpy/style/filereader.py
index b5e09ec78d408c2d47e5af8468b59fcc32474756..13d021983f3090f40777d13d4cd8f190658f880b 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/style/filereader.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/style/filereader.py
@@ -132,7 +132,7 @@ class TextFileReader(object):
def _process_directory(self, directory):
"""Process all files in the given directory, recursively."""
# FIXME: We should consider moving to self.filesystem.files_under() (or adding walk() to FileSystem)
- for dir_path, dir_names, file_names in os.walk(directory):
+ for dir_path, _, file_names in os.walk(directory):
for file_name in file_names:
file_path = self.filesystem.join(dir_path, file_name)
self.process_file(file_path)

Powered by Google App Engine
This is Rietveld 408576698