[llvm] r283709 - [lit] Remove unused TestingProgressDisplay attr

Brian Gesiak via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 9 18:20:43 PDT 2016


Author: modocache
Date: Sun Oct  9 20:20:43 2016
New Revision: 283709

URL: http://llvm.org/viewvc/llvm-project?rev=283709&view=rev
Log:
[lit] Remove unused TestingProgressDisplay attr

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

Reviewers: echristo, delcypher, beanz, ddunbar

Subscribers: llvm-commits, mehdi_amini

Differential Revision: https://reviews.llvm.org/D25415

Modified:
    llvm/trunk/utils/lit/lit/main.py

Modified: llvm/trunk/utils/lit/lit/main.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/main.py?rev=283709&r1=283708&r2=283709&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/main.py (original)
+++ llvm/trunk/utils/lit/lit/main.py Sun Oct  9 20:20:43 2016
@@ -28,7 +28,6 @@ class TestingProgressDisplay(object):
     def __init__(self, opts, numTests, progressBar=None):
         self.opts = opts
         self.numTests = numTests
-        self.current = None
         self.progressBar = progressBar
         self.completed = 0
 




More information about the llvm-commits mailing list