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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.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/checkers/png.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py
index ab1b6f24ac814dcf96c712f51e7c90782c2452bb..dc64bc0525d3eb41af2d1ebe700a1ecc7b2cf2d3 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/png.py
@@ -42,9 +42,6 @@ class PNGChecker(object):
self._fs = self._host.filesystem
def check(self, inline=None):
- errorstr = ""
- config_file_path = ""
-
if self._fs.exists(self._file_path) and self._file_path.endswith("-expected.png"):
with self._fs.open_binary_file_for_reading(self._file_path) as filehandle:
if not read_checksum_from_png.read_checksum(filehandle):

Powered by Google App Engine
This is Rietveld 408576698