[PATCH] D25415: [lit] Remove unused TestingProgressDisplay attr

Brian Gesiak via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 9 16:07:28 PDT 2016


modocache created this revision.
modocache added reviewers: ddunbar, echristo, delcypher, beanz.
modocache added a subscriber: llvm-commits.
Herald added a subscriber: mehdi_amini.

`TestingProgressDisplay` initializes its `current` attribute to `None`, but
never reads or writes the value again. Remove it.


https://reviews.llvm.org/D25415

Files:
  utils/lit/lit/main.py


Index: utils/lit/lit/main.py
===================================================================
--- utils/lit/lit/main.py
+++ utils/lit/lit/main.py
@@ -28,7 +28,6 @@
     def __init__(self, opts, numTests, progressBar=None):
         self.opts = opts
         self.numTests = numTests
-        self.current = None
         self.progressBar = progressBar
         self.completed = 0
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25415.74087.patch
Type: text/x-patch
Size: 385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161009/db70770a/attachment.bin>


More information about the llvm-commits mailing list