perf: drop an unused variable assignment
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 27 Dec 2019 13:47:17 -0500
changeset 43976 943e34522b37
parent 43975 2bbb2f556ecf
child 43977 04e0e0e73892
perf: drop an unused variable assignment Caught by PyCharm. A different formatter is created below in `_displaystats()`. Differential Revision: https://phab.mercurial-scm.org/D7744
contrib/perf.py
--- a/contrib/perf.py	Fri Dec 27 13:45:05 2019 -0500
+++ b/contrib/perf.py	Fri Dec 27 13:47:17 2019 -0500
@@ -2220,9 +2220,6 @@
 
     fm.end()
     if dostats:
-        # use a second formatter because the data are quite different, not sure
-        # how it flies with the templater.
-        fm = ui.formatter(b'perf', opts)
         entries = [
             ('nbrevs', 'number of revision covered'),
             ('nbmissingfiles', 'number of missing files at head'),