statprof: remove a line of deadcode
authorAlex Gaynor <agaynor@mozilla.com>
Thu, 14 Dec 2017 20:18:15 +0000
changeset 35413 c8e8e14a5ee9
parent 35412 b1959391a088
child 35414 a51541681b8d
statprof: remove a line of deadcode Differential Revision: https://phab.mercurial-scm.org/D1689
mercurial/statprof.py
--- a/mercurial/statprof.py	Sun Oct 01 12:21:50 2017 +0100
+++ b/mercurial/statprof.py	Thu Dec 14 20:18:15 2017 +0000
@@ -815,7 +815,6 @@
         tos = sample.stack[0]
         name = tos.function
         path = simplifypath(tos.path)
-        category = '%s:%d' % (path, tos.lineno)
         stack = tuple((('%s:%d' % (simplifypath(frame.path), frame.lineno),
                         frame.function) for frame in sample.stack))
         qstack = collections.deque(stack)